Failures during compilation of JS will cause the build:watch or build:watch:js tasks to exit silently. The watch should continue even if compilation fails. It should show a message to indicate that the compilation has failed though.
Additionally, build:js and build should continue to output a non-zero exit code if js compilation has failed.