mwaylabs / generator-m-ionic

Advanced workflows and setup for building rock-solid Ionic apps
MIT License
670 stars 133 forks source link

config-const.js content is emptied #453

Open valdetdodaj opened 7 years ago

valdetdodaj commented 7 years ago

After starting gulp watch 2 times in terminal, the config-const.js file is emptied therefore the build fails. This sometimes happens also when using livereload.

related to #363 (I'm also a member of the HMTL5 team @mwaylabs)

gruppjo commented 7 years ago

This issue also describes the same bug: https://github.com/mwaylabs/generator-m-ionic/issues/227

gruppjo commented 7 years ago

Workaround: We usually just use git and simply checkout the file. git checkout app/main/constants/config-const.js

You can also generate a new file with the sub-generator: yo m-ionic:constant config --template=config

gruppjo commented 7 years ago

@lordgreg. I just cannot reproduce this. I tried running gulp watch with gulp karma, gulp protractor and gulp build at the same time and the config was just not emptied. I even tried to run ALL 4 commands at once, still no empty config-const :( Running out ideas.