Skip to content

Instantly share code, notes, and snippets.

@valeriocs
Created November 20, 2018 10:15
Show Gist options
  • Save valeriocs/01710cbcf8d8d844b259b2077a3a1074 to your computer and use it in GitHub Desktop.
Save valeriocs/01710cbcf8d8d844b259b2077a3a1074 to your computer and use it in GitHub Desktop.
Webpack 2/3/4 compiling loop fix
const timefix = 11000;
compiler.plugin('watch-run', (watching, callback) => {
watching.startTime += timefix;
callback()
});
compiler.plugin('done', (stats) => {
stats.startTime -= timefix
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment