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

Grunt watch doesn't watch images #95

Open
anselmbradford opened this issue May 2, 2014 · 2 comments
Open

Grunt watch doesn't watch images #95

anselmbradford opened this issue May 2, 2014 · 2 comments

Comments

@anselmbradford
Copy link
Member

Adding an image used by the CSS doesn't automatically update what's on the server when using grunt watch, b/c only the HTML/CSS/JS are watched, so images won't be copied. To apply image updates, the server needs to be restarted with cordova serve ios. There's probably no reason grunt couldn't watch images also.

@alanjosephwilliams
Copy link
Member

A grunt plugin would be required?

@anselmbradford
Copy link
Member Author

No plugin required, copy and watch tasks would just need to be updated to watch and copy the images directory, respectively. https://github.com/codeforamerica/trails-mobile/blob/master/gruntfile.js#L31

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

No branches or pull requests

2 participants