for deno, thin wrapper of
Deno.watchFs
"semitia" ... from twdne
minimal usage:
deno run --allow-read=$PWD --allow-run https://deno.land/x/semitia/cli.ts -ms echo
...then if changed files, shows full paths of file.
example:
$ deno run --allow-read=$PWD --allow-run https://deno.land/x/semitia/cli.ts -ms echo
# write some changes to README.md, then ...
/home/user/semitia/README.md
...but usually will be able to use this:
$ deno run -A https://deno.land/x/semitia/cli.ts -ms echo
here is a list of used Deno
APIs.
example:
API
: permission
then, it's list:
Deno.watchFs
: readDeno.args
: noneDeno.run
: run
(you can use -A --unstable
flags, but semitia doesn't need unnecessary
permissions)
deno install --allow-read --allow-run --name semitia https://deno.land/x/semitia/cli.ts
warn: please setup environment variables ($PATH) yourself!