fix: display js rebuilding logs in bench watch
This commit is contained in:
parent
9e5bff71b0
commit
37f28685aa
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue