Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make the watcher more responsive to child changes
the watcher for files with lots of imports. The regression was caused by calling the slow `gaze.add` unnecessarily. We only need to call `gaze.add` on files that aren't currently being watched. At the time I confirmed that calling `gaze.add` in files that were being watched wouldn't result in a leak or multiple events being fired. I however assumed calling `gaze.add` for already watched files would be very cheap. Fixes sass#1869
- Loading branch information