hnra / nim-watcher

File watcher written in Nim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nim-watcher

A file watcher written in Nim.

For more info:

watcher -h

Examples

Say hello whenever a Nim file in the current directory tree changes:

watcher echo hello

Compile and run a Nim file if it changes:

watcher --inject "nim c -r {}"

Run Python whenever a Python file changes:

watcher --inject --glob="**/*.py" "python {}"

About

File watcher written in Nim


Languages

Language:Nim 100.0%