Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Replaced fwd slashes with backslashes for win to fix sass deps watch (#…
  • Loading branch information
lysla authored and devongovett committed Jun 30, 2018
1 parent 6ccaf6d commit 9200e9a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Bundler.js
Expand Up @@ -407,12 +407,11 @@ class Bundler extends EventEmitter {
}

async unwatch(path, asset) {
path = await fs.realpath(path);
if (!this.watchedAssets.has(path)) {
return;
}

path = await fs.realpath(path);

let watched = this.watchedAssets.get(path);
watched.delete(asset);

Expand Down

0 comments on commit 9200e9a

Please sign in to comment.