watch: deleting files #8

Closed
searls opened this Issue Jul 24, 2012 · 1 comment

Projects

None yet

2 participants

@searls
Member
searls commented Jul 24, 2012

when a file is deleted, watch detects it but never fires any tasks.

@searls
Member
searls commented Jul 24, 2012

This is a grunt bug.

I read the implementation on grunt/master and the fact delete doesn't trigger tasks makes sense, because it re-expands the watch paths and looks for a match before running tasks. If the deleted file was expanded from a glob, the re-expansion will miss it.

However, it looks like this piece was totally replaced in the devel branch of grunt. Putting this on hold for now.

@davemo davemo closed this Apr 16, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment