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
{{ message }}
This repository has been archived by the owner on Apr 26, 2023. It is now read-only.
When running the play application using run, gulp watch is called by sbt-play-gulp. If gulp causes an error e.g. due to a JavaScript syntax error, gulp watch is finished. In this scenario I need to stop the play application and rerun it, to make watching work again.
As it is common, that syntax errors in JavaScript appear I would prefer some kind of loop, so that gulp watch is started again after it terminated unexpectedly, as long as the play application is running.
The text was updated successfully, but these errors were encountered:
You will probably want to versions: on with on('error') for gulp watch and one without it for making the file that is actually distributed, as otherwise your build will succeed with an empty output file when you have an error.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When running the play application using
run
,gulp watch
is called by sbt-play-gulp. If gulp causes an error e.g. due to a JavaScript syntax error,gulp watch
is finished. In this scenario I need to stop the play application and rerun it, to make watching work again.As it is common, that syntax errors in JavaScript appear I would prefer some kind of loop, so that
gulp watch
is started again after it terminated unexpectedly, as long as the play application is running.The text was updated successfully, but these errors were encountered: