I'm working on quite a large modular project in Webstorm. The js code is compiled with Babel to ./dist
folder, so are the assets like html templates and other files.
I would like to EXCLUDE ./dist
since when I do a global search of "Navigate to Symbol/Class/etc", I don't want results from ./dist
to be shown, so I mark the ./dist
folder as excluded.
BUT due to the workflow and the modularity (projects are modules loaded with jspm), I need to commit changed ./dist
into VCS (Git). This is our workflow and I can't do anything about that.
The problem:
When I click "Commit changes" I don't see the newly changed files in ./dist
when I exclude this folder. Clicking on "Refresh changes" doesn't help.
Can I solve this issue somehow?
UPD
The ./dist
directory is NOT in .gitignore