소스 검색

Fix watch mode for external extensions

Webpack fixed this bug in a non-exported class that we keep made a
"copy" of. I have included the fix in our copy of the class.

This addresses an error causing wtach mode to fail to work when
using it with external extensions (not in dev mode)
Alex Bozarth 4 년 전
부모
커밋
3232ef0e9e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      builder/src/webpack-plugins.ts

+ 1 - 1
builder/src/webpack-plugins.ts

@@ -110,7 +110,7 @@ export namespace WPPlugin {
         close: () => watcher.close(),
         pause: () => watcher.pause(),
         getContextTimeInfoEntries: () => {
-          const dirTimestamps = watcher.getContextInfoEntries();
+          const dirTimestamps = watcher.getContextTimeInfoEntries();
           for (const path of ignoredDirs) {
             dirTimestamps.set(path, IGNORE_TIME_ENTRY);
           }