Replies: 4 comments 11 replies
-
Could you give a little more guidance on how to install these? Would love to get it set up. |
Beta Was this translation helpful? Give feedback.
-
Sure.
Sorry for the hassle. I'm thinking of producing a quick installer script for these Gists. @johnlindquist, any chance of leveraging the existing |
Beta Was this translation helpful? Give feedback.
-
There's a problem I thought I had fixed, but turns out I didn't. Will post the fix when I catch it. |
Beta Was this translation helpful? Give feedback.
-
Thanks! Having issues, might be something I did wrong though. I ge the following error when I add something to scripts:
And the following error when I add to lib: |
Beta Was this translation helpful? Give feedback.
-
This script watches the
lib
folder, and when changes tots
files are made, it does 2 things:libFilePath -> dependantScriptPaths[]
lib
file to trigger rebuild.https://gist.github.com/BeSpunky/d40bf6052b2c9a4f3a58b22108e5124a
TLDR
Currently, ScriptKit only rebuilds scripts if it detects changes to the
scripts
folder.If you extract your reusable parts and put them into the
lib
folder, ScriptKit doesn't pick up on changes to those files.The manual way to overcome this is to save your script file again and trigger rebuild.
No more... :)
Actually, this is a 3 scripts solution:
update-script-dependency-graphs
: Partially rebuilds the graph if a triggering file has been provided, otherwise completely rebuilds it.watch-libs
: Watches lib files, partially rebuild the graph usingupdate-script-dependency-graph
, then touch the scripts.watch-scripts
: Watch script files, partially rebuild the graphBeta Was this translation helpful? Give feedback.
All reactions