sbt-play-gulp icon indicating copy to clipboard operation
sbt-play-gulp copied to clipboard

Gulp error while watching requires restart of play application

Open svenwiegand opened this issue 8 years ago • 1 comments

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.

svenwiegand avatar Mar 25 '16 12:03 svenwiegand