https://github.com/enspirit/rescript-chokidar
ReScript bindings for Chokidar.js
https://github.com/enspirit/rescript-chokidar
chokidar rescript-bindings
Last synced: 17 days ago
JSON representation
ReScript bindings for Chokidar.js
- Host: GitHub
- URL: https://github.com/enspirit/rescript-chokidar
- Owner: enspirit
- Created: 2019-11-04T09:30:36.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-03-08T06:02:59.000Z (about 3 years ago)
- Last Synced: 2025-09-18T17:38:27.994Z (7 months ago)
- Topics: chokidar, rescript-bindings
- Language: ReScript
- Homepage:
- Size: 714 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# rescript-chokidar
[ReScript](https://rescript-lang.org) bindings for [chokidar](https://github.com/paulmillr/chokidar).
# Usage
```reasonml
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]`.