Skip to content
This repository was archived by the owner on May 1, 2020. It is now read-only.

Commit 39ca3e8

Browse files
committed
test(watch): fix test
fix test
1 parent 20df6d4 commit 39ca3e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/watch.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ export function buildUpdate(event: string, filePath: string, context: BuildConte
197197

198198
export function runBuildUpdate(context: BuildContext, changedFiles: ChangedFile[]) {
199199
if (!changedFiles || !changedFiles.length) {
200-
return [];
200+
return null;
201201
}
202202

203203
const jsFiles = changedFiles.filter(f => f.ext === '.js');

0 commit comments

Comments
 (0)