I am building a theme for NodeBB and the theme lives inside the node_modules
directory. Pulling in from master last night I have a new .gitignore
my file had ignore all node_modules
except for my theme, well since this is a new .gitignore
it didn't track my changes.
Then I made changes to my theme without it being tracked. I decided to merge with my repo, after some conflicts took a step back then did npm prune
now this pruned my theme, I spent the last hour making changes that I am not sure I can get back.
My question is since the folder was not being tracked is it possible to undo the npm prune
and recover the theme within node_modules
?