Skip to content
This repository has been archived by the owner on Nov 16, 2019. It is now read-only.

Commit

Permalink
Fix webpack-dev-server hanging on recompile
Browse files Browse the repository at this point in the history
  • Loading branch information
vkalinichev committed Mar 9, 2017
1 parent ec81e18 commit 26f612d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ OpenBrowserPlugin.prototype.apply = function(compiler) {
}, delay);
})

compiler.plugin('watch-run', once(function checkWatchingMode(watching, done) {
compiler.plugin('watch-run', function checkWatchingMode(watching, done) {
isWatching = true;
done();
}));
});

compiler.plugin('done', function doneCallback(stats) {
if (isWatching && (!stats.hasErrors() || ignoreErrors)) {
Expand Down

0 comments on commit 26f612d

Please sign in to comment.