Closed jdhorner closed 10 years ago
I just now realized this, I suppose, is basically the same as #29.
Yeah, since home.less
is not one of your src
files, the newer
task doesn't know anything about it (the watch
task doesn't pass along any information to other tasks, it just triggers them).
I'll report back on #29 and #18 when there is a general solution.
See #35 for a proposed general solution and #29 for any discussion specific to LESS.
LESS task defined as below in grunt file:
And the Grunt watch task is as below:
Finally, as watch is waiting for changes, I tested by editing the file
home.less
, and got the output in my terminal as follows: