Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ngmin is slowing down my development workflow #30

Closed
aaronksaunders opened this issue Mar 28, 2014 · 1 comment
Closed

ngmin is slowing down my development workflow #30

aaronksaunders opened this issue Mar 28, 2014 · 1 comment

Comments

@aaronksaunders
Copy link

for me to test my application, I need to run it in the emulator... unless I am doing something wrong, that means i have to run grunt build:dist that task runs ngmin which takes 10 seconds to run for each cycle.

Any suggestions on how to structure a task that just copies over the files?

@diegonetto
Copy link
Owner

I introduced a copy:all task when I added support for grunt ripple, but you bring up a very good point so I've added a grunt cordova task in version 0.2.3 that copies over your app/ assets into www/ and then runs grunt cordova:build. Updated the documentation to reflect this.

So now your workflow to test on a device can be:
grunt cordova
grunt emulate:ios

Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants