Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've been using LESS and CoffeeScript substantially lately, and wondering what would be the best method of monitoring. Currently I use, which works great, but I don't think there's a solution for CoffeeScript out there. So, I fall back to CLI. Which isn't entirely inappropriate considering some of the path commands go to different directories, rather than compiling side by side. Also, I imagine running over a network (SSH into a different box) won't be fun, even though the growl notifications are nice.

I'm thinking instead I'll just run the CS and LESS watch commands in Node.s script registered to node-forever. node-forever has bit me in the butt once before leaking memory.

So, what are others out there doing? Ideas?

share|improve this question

I don't think anyone has yet built something like for CoffeeScript. But CoffeeScript's command line interpreter does include watch functionality:

coffee -cwo js coffee

will continuously compile everything from the coffee directory into the js directory, recompiling whenever something changes. (Note that it does not detect new files.)

I created a command line utility called Jitter that does the same thing with a slightly nicer syntax:

jitter coffee js

Jitter also has a couple of other nice features; notably, it detects new files and provides Growl notifications if your CoffeeScript contains a syntax error.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .