-
Notifications
You must be signed in to change notification settings - Fork 10.3k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Ignoring *.swp file types when using gatsby develop
#333
Comments
Webpack is what's responsible for watching files so I would research there. I'm not entirely sure how to help though as I use Vim and don't have any troubles. One easy solution would be to move saving your swp files to a different directory http://stackoverflow.com/questions/1636297/how-to-change-the-folder-path-for-swp-files-in-vim |
I'm having a similar issue with it serving up test files, which I have co-located with components. I guess the solution is to just move test files to a top-level test folder, but it would be nice if Gatsby supported this popular convention. |
I wasn't sure where I'm supposed to configure ignoring file types such as
*.swp
produced by vim when usinggatsby develop
. Currently, it reloads every time I switch between viewing different files since vim produces a.swp
file for the current buffer. Not a big issue, but it would be nice to ignore. It might be good to go ahead and add that as default along with a*.swp
entry to the default.gitignore
.The text was updated successfully, but these errors were encountered: