-
Notifications
You must be signed in to change notification settings - Fork 4
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
node_modules being backed up despite being tmignored (?) #11
Comments
What pattern is in your Here are the 2 entries from my
|
@wderezin The two |
@borekb Could this be your issue below? For me if I recreate the node_modules (delete/create) the exclusion doesn't stick. You can verify if the file is excluded by using If Currently tmignore is using this mode: Switch to this mode (-p) This is the line that needs to be updated: tmignore/tmignore/TimeMachine.swift Line 20 in 8f359a4
|
@wderezin Interesting.. I didn't have time to experiment with this further but are you saying that tmignore always had the "problem" I reported, i.e., removing and re-adding I don't know because I think I've used BackupLoupe to explore my snapshots in the past and they seemed to be without node_modules. And if I understand you correctly, tmignore always worked in the "non |
@borekb Correct that is what I'm experiencing. And is consistent with the |
@wderezin Just to make sure I understand: when you do e.g. |
I've been using tmignore happily in the past, it always worked well but in the recent backup, I see several
node_modules
using the BackupLoupe utility:The
yarn-install-demo
is actually this public repo: https://github.com/borekb/yarn-install-demo where you can see two.gitignore
files:.gitignore
:packages-v2/.gitignore
:I did a quick
tmignore
check which looks alright:How comes that
.yarn
cache files are excluded from the backup butnode_modules
aren't? I also ran this, which again contained only.yarn/*
entries and nonode_modules
entries:(The
yarn-install-demo
folder on my disk is about 3 days old while the Time Machine backup was run 1 hour ago, so there shouldn't be any problem with the node_modules folder not being known to tmignore yet.)Any ideas?
The text was updated successfully, but these errors were encountered: