Skip to content

Commit

Permalink
fix to stop watch fail after first run
Browse files Browse the repository at this point in the history
Gulp watch fails after first run. this is a fix for that. Reference is as follows.
gulpjs/gulp#1626 (comment)
  • Loading branch information
fusionstrings committed Jul 11, 2016
1 parent 6321bc2 commit ddf7c84
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/registries/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@ function ServerRegistry(config = {}) {
/**
* reloads the application
*/
this.reload = () => {
this.reload = cb => {
server.reload();
cb();
};

/**
Expand Down

0 comments on commit ddf7c84

Please sign in to comment.