0.2.3 add logging for change event emitting
parent
1900dc5ba2
commit
0d65514630
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@uci-utils/watcher",
|
||||
"version": "0.2.2",
|
||||
"version": "0.2.3",
|
||||
"description": "File System Watcher Class that emits events",
|
||||
"main": "src/watcher.js",
|
||||
"scripts": {
|
||||
|
|
|
@ -80,6 +80,7 @@ class Watcher extends Emitter {
|
|||
this.emit('install', f)
|
||||
}
|
||||
// user might want to run debounce on the listener for this event
|
||||
log.debug({file:f, type:type, msg:'file system changed, emitting'})
|
||||
this.emit('changed', {file:f, type:type})
|
||||
} // end handler
|
||||
|
||||
|
|
Loading…
Reference in New Issue