File tree
Expand file treeCollapse file tree1 file changed
+1
-1
lines changed packages/vite/src/node/server
Expand file treeCollapse file tree1 file changed
+1
-1
lines changed Original file line number | Diff line number | Diff line change |
---|
@@ -414,7 +414,7 @@ export async function _createServer(
|
414 | 414 | const watcher = watchEnabled
|
415 | 415 | ? (chokidar.watch(
|
416 | 416 | // config file dependencies and env file might be outside of root
|
417 |
| -[root, ...config.configFileDependencies, config.envDir], |
| 417 | +[...new Set([root, ...config.configFileDependencies, config.envDir])], |
418 | 418 | resolvedWatchOptions,
|
419 | 419 | ) as FSWatcher)
|
420 | 420 | : createNoopWatcher(resolvedWatchOptions)
|
|
You can’t perform that action at this time.
0 commit comments