diff --git a/rollup/watch.js b/rollup/watch.js index 77833d8b4d..5e978e3722 100644 --- a/rollup/watch.js +++ b/rollup/watch.js @@ -32,7 +32,7 @@ function watch_assets() { case 'BUNDLE_START': { const output = event.output[0]; - if (output.endsWith('.js', '.vue')) { + if (output.endsWith('.js') || output.endsWith('.vue')) { log('Rebuilding', path.basename(event.output[0])); } break;