fix: display js rebuilding logs in bench watch

This commit is contained in:
Mangesh-Khairnar 2019-03-14 14:20:02 +05:30
parent 9e5bff71b0
commit 37f28685aa

View file

@ -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;