From @paulpflug on June 22, 2015 9:58
console.log "watching"
fired = false
entry.onDidChange ->
console.log "fire"
unless fired
fired = true
console.log "real fire"
setTimeout (->fired = false), 1000
Output:
watching
## saving empty file
fire
real fire
## saving file with content
fire
real fire
fire
Copied from original issue: atom/atom#7363
From @paulpflug on June 22, 2015 9:58
Output:
Copied from original issue: atom/atom#7363