Cleaning up empty directories
-
Documentation
- The Compony Theme
- The Compony Gulp
When working with more people on the same theme, someone might remove a component and commit it in Git. When you pull changes, due to the nature of Git, the files will be removed, but the folder won't.
Therefor, when running the gulp
command, Compony removes empty folders. If you want a folder to stay, you could put a .gitkeep file
in them.