MIRROR: javascript for 馃悳's, a tiny runtime with big ambitions
1#ifndef ANT_WATCH_H
2#define ANT_WATCH_H
3
4#include <stdbool.h>
5#include <uv.h>
6
7int ant_watch_start(
8 uv_loop_t *loop,
9 uv_fs_event_t *event,
10 const char *path,
11 uv_fs_event_cb callback,
12 void *data,
13 unsigned int flags,
14 char **resolved_path_out
15);
16
17int ant_watch_run(
18 int argc, char **argv,
19 const char *entry_file, bool no_clear_screen
20);
21
22void ant_watch_stop(uv_fs_event_t *event);
23char *ant_watch_resolve_path(const char *path);
24
25#endif