From 5bd4b04280ad135e1824a8efb1cb02d28a6183eb Mon Sep 17 00:00:00 2001 From: Mike Mazmanyan Date: Mon, 17 Oct 2016 12:23:18 -0400 Subject: [PATCH] Fixes #321 (#322) Reverting old change which has broken webpack hot module reloading. --- index.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/index.ts b/index.ts index d8b76585e..0b44b11df 100644 --- a/index.ts +++ b/index.ts @@ -562,8 +562,7 @@ function ensureTypeScriptInstance(loaderOptions: LoaderOptions, loader: any): { // manually update changed files loader._compiler.plugin("watch-run", (watching, cb) => { - var mtimes = watching.compiler.fileTimestamps || - watching.compiler.watchFileSystem.watcher.mtimes; + var mtimes = watching.compiler.watchFileSystem.watcher.mtimes; Object.keys(mtimes) .filter(filePath => !!filePath.match(/\.tsx?$|\.jsx?$/)) .forEach(filePath => {