semitia

for deno, thin wrapper of Deno.watchFs

"semitia" ... from twdne

usage

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

permission

here is a list of used Deno APIs.
example:

  • API : permission

then, it's list:

  • Deno.watchFs : read
  • Deno.args : none
  • Deno.run : run

install

(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!