talios / coffee-maven-plugin

Apache Maven Plugin for Coffeescript
63 stars 17 forks source link

support 'watch' mode #5

Open iron9light opened 13 years ago

iron9light commented 13 years ago

-w, --watch Watch the modification times of the coffee-scripts, recompiling as soon as a change occurs.

marceloverdijk commented 12 years ago

+1

skusunam commented 12 years ago

+1

awkay commented 10 years ago

There is a simple workaround that makes a watch mode unnecessary:

coffee -w -c dir dir2 ...

which you can add to a simple maven exec plugin if you really want to configure and run it from maven.

talios commented 10 years ago

It could still be worth adding actually - as just calling coffee gives you zero guarantee over a) the version of coffee your using b) the version of node that coffee is run under.

There was a pull request awhile ago to add support for calling coffee if running on Linux - but it also silently ignored any of the version settings specified in the plugin configuration which is why I kinda ignored it ( tho I think I mentioned that on the PR, not sure now ).

A watch mode triggering the various joinsets could be rather complex, maybe....

lprimak commented 8 years ago

+1 Watching simple non-joining updates would be great for development