Project for reproducing issue 9 in the chokidar library.
First install the packages with:
npm install
To run this test, just type:
npm run start
Quickly adds and removes a file called hi
in the current directory. See remove_when_added.js
and write_every_second.js
scripts.
Simultaneously another script (index.js
) uses chokidar
to watch the current directory. alwaysStat
is true, but the script will occasionally print Stats is undefined.
, indicating that chokidar
has returned undefined
as the stats
object.