Skip to content

enspirit/rescript-chokidar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rescript-chokidar

ReScript bindings for chokidar.

Usage

let watcher = Chokidar.watch(".", ());
let doit = (s:string) => Js.log(s);
Chokidar.on(watcher, "change", doit);
Chokidar.close(watcher, ());

Developers section

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].