sbt-play-gulp
sbt-play-gulp copied to clipboard
Gulp error while watching requires restart of play application
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.