summaryrefslogtreecommitdiff
path: root/test/parallel/test-repl-harmony.js
diff options
context:
space:
mode:
authorSakthipriyan Vairamani <thechargingvolcano@gmail.com>2015-07-12 16:58:50 +0000
committerSakthipriyan Vairamani <thechargingvolcano@gmail.com>2015-08-04 22:31:01 +0530
commited85c95a9c252071e91bccfaf854d23a2ebe9a2b (patch)
tree0aa93f4be494478996190954ebadde258e408f13 /test/parallel/test-repl-harmony.js
parentea05e760cdb732f58cfe36da1a8ecafe76adc1ac (diff)
downloadandroid-node-v8-ed85c95a9c252071e91bccfaf854d23a2ebe9a2b.tar.gz
android-node-v8-ed85c95a9c252071e91bccfaf854d23a2ebe9a2b.tar.bz2
android-node-v8-ed85c95a9c252071e91bccfaf854d23a2ebe9a2b.zip
doc,test: documents behaviour of non-existent file
As per the discussion in https://github.com/nodejs/io.js/pull/2093#discussion_r34343965, this patch documents the behavior of calling fs.watchFile() with a path that does not yet exist. This patch also includes a test which checks if a file not present, the callback is invoked at least once and if the file is created after the callback is invoked, it will be invoked again with new stat objects. PR-URL: https://github.com/nodejs/io.js/pull/2169 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Brendan Ashworth <brendan.ashworth@me.com>
Diffstat (limited to 'test/parallel/test-repl-harmony.js')
0 files changed, 0 insertions, 0 deletions