Prevent overwriting index.html and styles.css on build
This is more of a feature request.
My problem is that I have some custom code in my styles.css and index.html and these get overwritten each time I build. Currently I keep a copy and then overwrite the build versions that were generated by impact-node.
Since it's rare to modify these files, there is no reason for impact-node to overwrite them each time. I suggest impact-node just generate them if they do not exist, or the on the initial project creation.
Hi, sorry for delay. So you propose this: check for styles.css and index.html before build, if there's no one, then copy default file. Right?
You don't want to just copy the files because the paths change due to the build that makes game.js
It's OK to generate the index.html and styles.css if none exist, but if they already exist in build, and are unchanged since last build, don't overwrite them with defaults. This is because I add some things to style.css and index.html in the build.