ReScript bindings for chokidar.
let watcher = Chokidar.watch(".", ());
let doit = (s:string) => Js.log(s);
Chokidar.on(watcher, "change", doit);
Chokidar.close(watcher, ());
First and formost, configure your environment with npm install
.
Specific ReScript aliases (clean
, build
, watch
, test
...) are defined
in the package.json
file to be used with npm run [alias]
.