Skip to content
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

Closed
tribou opened this issue Jun 15, 2016 · 2 comments
Closed

Ignoring *.swp file types when using gatsby develop #333

tribou opened this issue Jun 15, 2016 · 2 comments

Comments

@tribou
Copy link
Contributor

tribou commented Jun 15, 2016

I wasn't sure where I'm supposed to configure ignoring file types such as *.swp produced by vim when using gatsby 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.

@KyleAMathews
Copy link
Contributor

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

@ptolemybarnes
Copy link

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.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants