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

Commit a774d6e

Browse files
committed
refactor: use getTimes()
1 parent da3217c commit a774d6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/instance.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ function setupWatchRun(compiler, instanceName: string) {
330330
const watcher = watching.compiler.watchFileSystem.watcher
331331
|| watching.compiler.watchFileSystem.wfs.watcher;
332332

333-
const mtimes = watcher.mtimes || {};
333+
const mtimes = watcher.getTimes();
334334
const changedFiles = Object.keys(mtimes).map(toUnix);
335335
const updates = changedFiles
336336
.filter(file => EXTENSIONS.test(file))

0 commit comments

Comments
 (0)