Open adammockor opened 9 years ago
Why would you expect only files that changed to trigger?
Because of the logging of the changes. Grunt-wiredep has this functionality.
onFileUpdated
is called for every file, even if it wasn't changed?
(please forgive my delay!)
In my experience yes. (please forgive my delay!)
Oh man, we are full of delays. Sorry for this one, too :(
In non-stream mode, here's how we're detecting if we need to write new content :
Maybe we should do something similar for the stream mode:
PR welcome!
Can I just say: Thank you for linking to specific commits (tag would have been okay, too) and not master?
:) So important to remember to do that, but I most often forget. For anyone who doesn't know already, select a line as normal, then press y
to get a specific URL generated.
Whoa, I didn't know that trick! I always just navigated to the commit/tag. Very nice trick!
that sounds like a bug then since if a file wasn't updated then it shouldn't trigger that event
Is it possible to do that? I got task like below, but it logs all files in stream instead of only files, which changed.