Created
November 20, 2018 10:15
-
-
Save valeriocs/01710cbcf8d8d844b259b2077a3a1074 to your computer and use it in GitHub Desktop.
Webpack 2/3/4 compiling loop fix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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