grunt jade
compiles all jade templates to individual html files.
grunt watch
watches the jade files and automatically runs the grunt jade
task.
the problem is the watch command recompiles all templates, even though only one changed. you can try it out:
git clone https://gist.github.com/6201527.git
cd 6201527
npm install
grunt watch &
touch one.jade
# notice that both one.jade and two.jade are compiled
is there a clean way to specify that only the corresponding jade template needs to be recompiled when one changes?