Quellcode durchsuchen

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 vor 4 Jahren
Ursprung
Commit
3232ef0e9e
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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);
           }