Commit 29f55a6d authored by Leo Iannacone's avatar Leo Iannacone

emit event and then watch

parent 01120ab5
......@@ -110,8 +110,8 @@ function __watch_path_onsocket(event_name, socket, data, watch_path, updater) {
}
function __generic_handler_watcher(event_name, socket, data, watch_path, callback) {
__watch_path_onsocket(event_name, socket, data, watch_path, callback)
callback(event_name, socket, data)
__watch_path_onsocket(event_name, socket, data, watch_path, callback)
}
function __send_distributions(socket) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment