Closed jsbalrog closed 10 years ago
Can you describe a bit more about what you expect to happen?
Subsequent changes will compile just the changed file.
This is how grunt-newer
is supposed to work (when dealing with 1:1 src:dest mappings). The first time you run, if no dest
files exist, all src
files will be used. On subsequent runs, only those src
files that are newer than corresponding dest
files will be used.
Please reopen if you can provide more detail on what you think is going wrong. From what you describe above, it sounds like the newer task is working as expected.
I have a watch for building coffeescript files, and the relevant parts of my Gruntfile look like this:
The first time I change a coffeescript file, the watch compiles ALL coffeescript files. Subsequent changes will compile just the changed file.