We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ccaf6d commit 9200e9aCopy full SHA for 9200e9a
1 file changed
src/Bundler.js
@@ -407,12 +407,11 @@ class Bundler extends EventEmitter {
407
}
408
409
async unwatch(path, asset) {
410
+ path = await fs.realpath(path);
411
if (!this.watchedAssets.has(path)) {
412
return;
413
414
- path = await fs.realpath(path);
415
-
416
let watched = this.watchedAssets.get(path);
417
watched.delete(asset);
418
0 commit comments