I have a project where I'm watching source files for changes with jsx --watch static/src static/build. When static/src/app.js changes, I see JSX compile to static/build/app.js:
app.js changed; rebuilding...
["app"]
I check static/build/app.js and the new file contents are indeed there.
In another terminal, I have watchify static/build/app.js -o static/dist/bundle.js -v running, and no build is ever triggered when JSX writes to static/build/app.js.
However, when I manually edit static/build/app.js, the watchify build is triggered and it runs.
I have a project where I'm watching source files for changes with
jsx --watch static/src static/build
. Whenstatic/src/app.js
changes, I see JSX compile tostatic/build/app.js
:I check
static/build/app.js
and the new file contents are indeed there.In another terminal, I have
watchify static/build/app.js -o static/dist/bundle.js -v
running, and no build is ever triggered when JSX writes tostatic/build/app.js
.However, when I manually edit
static/build/app.js
, the watchify build is triggered and it runs.Here's a GIF: