Skip to content

Commit

Permalink
Fix path normalization on win32.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmillr committed Sep 27, 2019
1 parent f696006 commit 048f935
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ add(paths_, _origAdd, _internal) {
if (!paths.every(p => typeof p === STRING_TYPE)) {
throw new TypeError('Non-string provided as watch path: ' + paths);
}
paths = paths.map(path => sysPath.normalize(path));
paths = paths.map(path => normalizePathToUnix(path));

if (cwd) {
paths = paths.map((path) => {
Expand Down

0 comments on commit 048f935

Please sign in to comment.