summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-09-07 21:21:15 -0400
committerJune McEnroe <june@causal.agency>2018-09-07 21:21:15 -0400
commita0007f78f8bea65a458630f941a45e983b75ec4f (patch)
tree9a34573411a2b41d2cd2d512dc628993fedcf377 /bin
parentAdd wake.1 (diff)
downloadsrc-a0007f78f8bea65a458630f941a45e983b75ec4f.tar.gz
src-a0007f78f8bea65a458630f941a45e983b75ec4f.zip
Add watch.1
Diffstat (limited to 'bin')
-rw-r--r--bin/watch.130
1 files changed, 30 insertions, 0 deletions
diff --git a/bin/watch.1 b/bin/watch.1
new file mode 100644
index 00000000..172115af
--- /dev/null
+++ b/bin/watch.1
@@ -0,0 +1,30 @@
+.Dd $Mdocdate$
+.Dt WATCH 1
+.Os "Causal Agency"
+.Sh NAME
+.Nm watch
+.Nd watch files
+.Sh SYNOPSIS
+.Nm
+.Ar
+.Ar command
+.Nm
+.Ar
+.Cm --
+.Ar command
+.Op Ar "argument ..."
+.Sh DESCRIPTION
+.Nm
+executes the
+.Ar command
+each time a
+.Ar file
+is modified.
+.Sh EXAMPLES
+.Dl watch watch.c make
+.Dl watch wake.c watch.c -- make wake watch
+.Sh CAVEATS
+.Nm
+does not support Linux
+since it uses
+.Xr kqueue 2 .