browserify / watchify

watch mode for browserify builds
Other
1.79k stars 181 forks source link

Builds not being triggered when input file is changed via `jsx --watch` #114

Closed nicksergeant closed 9 years ago

nicksergeant commented 9 years ago

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.

Here's a GIF:

http://i.imgur.com/xIslE3w.gif

nicksergeant commented 9 years ago

Sigh. Closing. Just discovered Reactify.