Skip to content

Commit

Permalink
skip joining on absolute paths (#9614)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikola-3 authored Apr 8, 2024
1 parent a24a30d commit e72f34b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/core/src/RequestTracker.js
Original file line number Diff line number Diff line change
Expand Up @@ -1444,7 +1444,7 @@ export function getWatcherOptions({
}: ParcelOptions): WatcherOptions {
const vcsDirs = ['.git', '.hg'];
const uniqueDirs = [...new Set([...watchIgnore, ...vcsDirs, cacheDir])];
const ignore = uniqueDirs.map(dir => path.join(projectRoot, dir));
const ignore = uniqueDirs.map(dir => path.resolve(projectRoot, dir));

return {ignore, backend: watchBackend};
}
Expand Down

0 comments on commit e72f34b

Please sign in to comment.