You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @andyinabox
Over at basil.js we are using the watch module. Works good for us.
# install it as dev dependency
npm install watch -D
# run it in a terminal session
# anytime you save your src/helloWorld.js
it will be extendscriptred (is that a word yet? ;-))
./node_modules/.bin/watch ./node_modules/.bin/extendscriptr --script src/helloWorld.js --output dist/helloWord.js
Hm. This wont work with the current state of extendsciptr. It would mean to do changes on the module. Would be nice to have. I'll add this as a new issue and feature request.
Activity
ff6347 commentedon Mar 11, 2017
Hi @andyinabox
Over at basil.js we are using the watch module. Works good for us.
ff6347 commentedon Mar 11, 2017
I'll keep this issue open until I (or somebody else) adds something useful about it to the readme
Add documentation for watch mode to README ExtendScript#31
Add header for watch mode part ExtendScript#31
florianbepunkt commentedon Jun 9, 2018
how can this be dynamic? watch looks for changes in the whole src folder, but the command provided in readme is fixed to a specific file.
if you have multiple scripts in src folder how can this be configured to compile each file when a change occurs?
ff6347 commentedon Jun 11, 2018
Hm. This wont work with the current state of extendsciptr. It would mean to do changes on the module. Would be nice to have. I'll add this as a new issue and feature request.