summary refs log tree commit diff
path: root/bin/man/rec.1
blob: bba8a2fc48a60aba04ad74757cf409a36bfb5f0a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
.Dd September 7, 2018
.Dt REC 1
.Os
.
.Sh NAME
.Nm rec
.Nd watch files
.
.Sh SYNOPSIS
.Nm
.Ar
.Ar command
.Nm
.Ar
.Fl -
.Ar command
.Op Ar argument ...
.
.Sh DESCRIPTION
.Nm
executes the
.Ar command
each time a
.Ar file
is modified.
.
.Sh EXAMPLES
.Dl rec rec.c make
.Dl rec rec.c wake.c -- make rec wake
.
.Sh CAVEATS
.Nm
does not support Linux
since it uses
.Xr kqueue 2 .