updating a file from outside the app is ACTUALLY reflected in atom now

This commit is contained in:
Corey Johnson
2011-11-07 16:25:46 -08:00
parent 3df83d10d8
commit be9078a92e
3 changed files with 6 additions and 2 deletions

View File

@@ -27,6 +27,7 @@ class Watcher
@watchedPaths[path] = (item for item in @watchedPaths[path] when item != callback)
if not callback? or @watchedPaths[path].length == 0
@watchedPaths[path] = null
console.log "Unwatch #{path}"
@queue.removePathFromQueue path
# Delegate method for __AAWatcher__