I have a small web service developed in node, and I'd like to code some files in coffeescript, to start playing with it.
I'm using nodemon to run the app, like this
nodemon app.js
And I have the following file structure
app.js controllers/ ping.coffee test.js
In nodemon's homepage it says that it supports coffeescript, but I change the file and it won't get reloaded.
Then I found this article, so I tried with
$ coffee --watch --compile ./controllers/*.coffee
And it works fine, but if I try with
$ coffee --watch --compile ./*.coffee
File not found: ./*.coffee
So it seems like the watch option is not recursive.
Any idea how can I make nodemon pick coffeescript files changes, or have the coffee compiler pick files recursively?