You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File system watcher options to pass on to [chokidar](https://github.com/paulmillr/chokidar#getting-started). If the `ignored` option is passed, Vite will also automatically convert any strings as [picomatch patterns](https://github.com/micromatch/picomatch#globbing-features).
217
+
File system watcher options to pass on to [chokidar](https://github.com/paulmillr/chokidar/tree/3.6.0#api).
218
218
219
219
The Vite server watcher watches the `root` and skips the `.git/`, `node_modules/`, and Vite's `cacheDir` and `build.outDir` directories by default. When updating a watched file, Vite will apply HMR and update the page only if needed.
220
220
221
-
If set to `null`, no files will be watched. `server.watcher` will not watch any files and calling `add` will have no effect.
221
+
If set to `null`, no files will be watched. `server.watcher` will provide a compatible event emitter, but calling `add` or `unwatch` will have no effect.
222
222
223
223
::: warning Watching files in `node_modules`
224
224
@@ -235,7 +235,7 @@ To fix it, you could either:
235
235
-**Recommended**: Use WSL2 applications to edit your files.
236
236
- It is also recommended to move the project folder outside of a Windows filesystem. Accessing Windows filesystem from WSL2 is slow. Removing that overhead will improve performance.
237
237
- Set `{ usePolling: true }`.
238
-
- Note that [`usePolling` leads to high CPU utilization](https://github.com/paulmillr/chokidar#performance).
238
+
- Note that [`usePolling` leads to high CPU utilization](https://github.com/paulmillr/chokidar/tree/3.6.0#performance).
> Copyright (c) Paul Miller (https://paulmillr.com)
466
+
>
467
+
> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
468
+
>
469
+
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
470
+
>
471
+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
472
+
473
+
---------------------------------------
474
+
475
+
## braces, fill-range, is-number
476
+
License: MIT
477
+
By: Jon Schlinkert, Brian Woodward, Elan Shanker, Eugene Sharygin, hemanth.hm
478
+
Repository: micromatch/braces
479
+
480
+
License: MIT
481
+
By: Jon Schlinkert, Edo Rivai, Paul Miller, Rouven Weßling
482
+
Repository: jonschlinkert/fill-range
483
+
484
+
License: MIT
485
+
By: Jon Schlinkert, Olsten Larck, Rouven Weßling
486
+
Repository: jonschlinkert/is-number
487
+
488
+
> The MIT License (MIT)
489
+
>
490
+
> Copyright (c) 2014-present, Jon Schlinkert.
491
+
>
492
+
> Permission is hereby granted, free of charge, to any person obtaining a copy
493
+
> of this software and associated documentation files (the "Software"), to deal
494
+
> in the Software without restriction, including without limitation the rights
> Copyright (c) 2019 Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com), Paul Miller (https://paulmillr.com)
1234
+
>
1235
+
> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
1236
+
>
1237
+
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
1238
+
>
1239
+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1240
+
1241
+
---------------------------------------
1242
+
1243
+
## is-extglob
1244
+
License: MIT
1245
+
By: Jon Schlinkert
1246
+
Repository: jonschlinkert/is-extglob
1247
+
1248
+
> The MIT License (MIT)
1249
+
>
1250
+
> Copyright (c) 2014-2016, Jon Schlinkert
1251
+
>
1252
+
> Permission is hereby granted, free of charge, to any person obtaining a copy
1253
+
> of this software and associated documentation files (the "Software"), to deal
1254
+
> in the Software without restriction, including without limitation the rights
0 commit comments