Skip to content

Commit

Permalink
fix: treat the watcher path as literal name (#2211)
Browse files Browse the repository at this point in the history
fix #2179
  • Loading branch information
CHOYSEN committed Feb 24, 2021
1 parent 94e5b9a commit 58bed16
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/vite/src/node/server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,7 @@ export async function createServer(
ignored: ['**/node_modules/**', '**/.git/**', ...ignored],
ignoreInitial: true,
ignorePermissionErrors: true,
disableGlobbing: true,
...watchOptions
}) as FSWatcher

Expand Down

0 comments on commit 58bed16

Please sign in to comment.