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

Stop watching files in .gitignore #2610

Closed
yaquawa opened this issue Mar 20, 2021 · 2 comments
Closed

Stop watching files in .gitignore #2610

yaquawa opened this issue Mar 20, 2021 · 2 comments

Comments

@yaquawa
Copy link
Contributor

yaquawa commented Mar 20, 2021

I noticed that Vite watch all the project files including the files in .gitignore, give user options for what to be watch or just ignore the files listed in .gitignore would be helpful.

@patak-dev
Copy link
Member

Related issue #2597, also related about import scans #2599

I don't think that we should override the meaning of .gitignore.

The config you are looking for is already available. Check out https://vitejs.dev/config/#server-watch

@yaquawa
Copy link
Contributor Author

yaquawa commented Mar 20, 2021

thanks for point out!

@github-actions github-actions bot locked and limited conversation to collaborators Jul 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants