diff --git a/packages/size-limit/run.js b/packages/size-limit/run.js index 0b1d4c54..388e9d8d 100644 --- a/packages/size-limit/run.js +++ b/packages/size-limit/run.js @@ -80,7 +80,7 @@ module.exports = async process => { await calcAndShow() if (hasArg('--watch')) { - let watcher = chokidar.watch(['**/*.js', 'package.json'], { + let watcher = chokidar.watch(['**/*'], { ignored: '**/node_modules/**' }) watcher.on('change', throttle(calcAndShow))