Closed
Description
fs.watchFile
is supposed to call the listener when the file attributes change. If I call it using a non-existing path, the listener is immediately fired for some reason.
In node 0.10, it would wait until the file exists before calling the listener. The current functionality does however match node 0.12 behavior, which I filed an issue again here: nodejs/node-v0.x-archive#25345.