kabisa / maji

Maji is a framework to build great hybrid mobile apps.
https://www.majimobile.com/
MIT License
18 stars 10 forks source link

Cordova complains if dist directory is removed #181

Closed pascalw closed 6 years ago

pascalw commented 6 years ago

I haven't investigated this but in some cases the dist/ directory can get removed in which case Cordova contains that the current directory is not a Cordova project.

pascalw commented 6 years ago

I think this might happen either due to Webpack cleaning (and deleting?) the dist/ directory and/or dist/ is probably in .gitignore so after cloning a new project this might happen too.

ruisalgado commented 6 years ago

indeed we should clean the contents of the dir w/o removing it, and on project setup create the dir and the cordova/www symlink

leonderijke commented 6 years ago

Current workaround is to either either create the dist/ directory via mkdir dist or running a Webpack build via bin/maji build.

pascalw commented 6 years ago

This was fixed by #195.