coffee-maven-plugin icon indicating copy to clipboard operation
coffee-maven-plugin copied to clipboard

support 'watch' mode

Open iron9light opened this issue 12 years ago • 5 comments

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

iron9light avatar Aug 02 '11 01:08 iron9light

+1

marceloverdijk avatar Jan 08 '12 10:01 marceloverdijk

+1

skusunam avatar May 17 '12 17:05 skusunam

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.

awkay avatar Dec 23 '13 22:12 awkay

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....

talios avatar Dec 24 '13 10:12 talios

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

lprimak avatar Dec 19 '15 12:12 lprimak