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

Commit b18ab9a

Browse files
authored
Merge pull request #204 from benelliott/master
Apply TypeStrong/ts-loader#167
2 parents 546c25c + 6c49180 commit b18ab9a

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
@@ -347,7 +347,7 @@ function setupWatchRun(compiler, instanceName: string) {
347347
compiler.plugin('watch-run', function (watching, callback) {
348348
let instance = resolveInstance(watching.compiler, instanceName);
349349
let state = instance.tsState;
350-
let mtimes = watching.compiler.watchFileSystem.watcher.mtimes;
350+
let mtimes = watching.compiler.fileTimestamps || watching.compiler.watchFileSystem.watcher.mtimes;
351351
let changedFiles = Object.keys(mtimes).map(toUnix);
352352

353353
changedFiles.forEach((changedFile) => {

0 commit comments

Comments
 (0)