@ff0000-ad-tech/wp-plugin-watch-offset
v2.0.0
Published
Webpack Plugin - Watch Offset
Downloads
7
Readme
RED Interactive Agency - Ad Technology
Webpack Plugin - Watch Offset
Hack for the 10s window in which Webpack considers a file "modified".
Please see https://github.com/webpack/watchpack/issues/25 for complete story.
Credit to https://github.com/yessky for the fix https://github.com/yessky/webpack-mild-compile.
Usage
webpack.config.js
...
plugins: [
// prevents generated files from triggering watch cycle
new WpPluginWatchOffset(),
...
],
...