Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: treat the watcher path as literal name #2211

Merged
merged 1 commit into from
Feb 24, 2021
Merged

fix: treat the watcher path as literal name #2211

merged 1 commit into from
Feb 24, 2021

Conversation

CHOYSEN
Copy link
Contributor

@CHOYSEN CHOYSEN commented Feb 24, 2021

Fix #2179

Note: the strings passed to chokidar.watch() and watcher.add() will treat as literal path names after setting disableGlobbing , so this may affect subsequent watcher.add() like configureServer hook in user plugin.

@yyx990803 yyx990803 merged commit 58bed16 into vitejs:main Feb 24, 2021
@CHOYSEN CHOYSEN deleted the patch_watch branch March 3, 2021 07:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Special characters [ ] in the project folder name will break devserver hot-reload
2 participants