Javascript Errors Stop Brunch Watcher, Full Restart Required

Maybe I should specify that this using the dev environment. In the default config/dev.exs generated by phx.new there is a :watchers config field where you can specify external watchers. By default it includes brunch.

After the watcher encounters an error in one of the watched scripts the watcher will stop detecting further changes, and the only way to restart the watcher in this case is to restart the server.