edvinasbartkus / grails-coffeescript-resources

Another CoffeeScript compiler for Grails
Other
20 stars 10 forks source link

Coffeescript Module changes don't trigger zip so they're not re-loaded #18

Open leopoldodonnell opened 12 years ago

leopoldodonnell commented 12 years ago

Its not clear to me if this is a problem with grails-coffeescript-resources, but when you make changes to coffeeScript source while the app is running, they don't get reloaded because the changes, while compiled, aren't re-zipped by the zipped-resources plugin (if you're using it).

This might be a result of not running resources in debug, but I haven't investigated.

Check out ~/.grails/{version}/projects/{your project}/tomcat/work/Tomcat/localhost/bll/grails-resources and you'll see your changes show up.

So - the workaround is to uninstall the zipped-resources plugin when you're working in development mode.

Note the same can be said for the Compass plugin :-(

edvinasbartkus commented 12 years ago

Seems like I should contact compass plugin author and with him we should have discussion with resource plugin authors how to handle things :)