mihaifm / simplemon

Simple file monitor that executes commands whenever a file change occurs
19 stars 2 forks source link

Adding filename pattern inside {} #2

Open lolive opened 11 years ago

lolive commented 11 years ago

I want to monitor a bunch of things in the same directory. jade files are supposed to be compiled with jade sass files are supposed to be compiled too.

I am not sure how to manage that case with simplemon.

I wish I could write such commands: simplemon jade {.jade} simplemon sass {.sass} etc

Does it sound like a good idea to add the file pattern directly inside the command ?

mihaifm commented 11 years ago

yes, this is a bit tricky...not possible at the moment. This utility is too "simple" for this kind of task. I would need to rethink it a little bit. In the mean time you could use something like grunt watch

lolive commented 11 years ago

In a grunt environment, I agree. But simplemon has a much wider usage.