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

Don't Watch Vim Swap Files #86

Merged
merged 2 commits into from
Jul 3, 2015
Merged

Don't Watch Vim Swap Files #86

merged 2 commits into from
Jul 3, 2015

Conversation

todd
Copy link
Member

@todd todd commented Jul 3, 2015

Prevents OC from watching and reloading Vim swap files in dev.

@matteofigus
Copy link
Member

Thanks! I'll merge it as soon as all the tests run and are green 👍

@todd
Copy link
Member Author

todd commented Jul 3, 2015

💥

matteofigus added a commit that referenced this pull request Jul 3, 2015
@matteofigus matteofigus merged commit 9778d91 into master Jul 3, 2015
@matteofigus matteofigus deleted the vim_swap_files branch July 3, 2015 17:43
@matteofigus
Copy link
Member

0.16.12 published including this

@@ -10,7 +10,7 @@ module.exports = function(dirs, baseDir, changed){
ignoreDotFiles: false
}, function(fileName, currentStat, previousStat){
if(!!currentStat || !!previousStat){
if(/node_modules|package.tar.gz|_package/gi.test(fileName) === false){
if(/node_modules|package.tar.gz|_package|\.sw(o|p)/gi.test(fileName) === false){
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⛳: (o|p) ▶️ [op]

@todd
Copy link
Member Author

todd commented Jul 4, 2015

Oh, yeah, that's better.

@todd
Copy link
Member Author

todd commented Jul 4, 2015

Fixed in 37fcf33

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.

None yet

3 participants