Skip to content

e3dio/watch.zig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

watch.zig

watch <executable> [..args]

Linux executable watcher and runner:

  1. Runs the executable (looks in PATH or use relative or absolute path).

  2. On file change sends SIGTERM to process and waits for exit then starts it again.

Install

git clone https://github.com/e3dio/watch.zig

cd watch.zig

zig build -p ~/.local

Usage

When developing a project you can build and watch the src files:

zig build --watch

zig build --watch -p ~/.local

then watch the executable for fast development:

watch <executable> [..args]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages