mirror of
https://github.com/nodejs/node.git
synced 2024-11-29 23:16:30 +01:00
1afc0c9e86
When the listener was truthy but NOT a function, fs.watchFile would throw an error through the EventEmitter. This caused a problem because it would only be thrown after the listener was started, which left the listener on. There should be no backwards compatability issues because the error was always thrown, just in a different manner. Also adds tests for this and other basic functionality. PR-URL: https://github.com/nodejs/io.js/pull/2093 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> |
||
---|---|---|
.. | ||
addons | ||
cctest | ||
debugger | ||
disabled | ||
fixtures | ||
gc | ||
internet | ||
message | ||
parallel | ||
pummel | ||
sequential | ||
testpy | ||
timers | ||
.eslintrc | ||
common.js |