summary refs log tree commit diff
path: root/bin/man1/wat.1
blob: f4ef4ed61085c519141cf420e0a50394629ff10b (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 January 1, 2018
.Dt WAT 1
.Os
.
.Sh NAME
.Nm wat
.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 wat wat.c make
.Dl wat wat.c wake.c -- make wat wake
.
.Sh CAVEATS
.Nm
does not support Linux
since it uses
.Xr kqueue 2 .
r make and mdocJune McEnroe 2021-01-19Map tags to IDs using only [[:alnum:]-._]June McEnroe 2021-01-19Don't use a pager if reading standard inputJune McEnroe 2021-01-19Support BSD make syntax and match *.amJune McEnroe These don't really go together, but... 2021-01-19Match tab following escaped newline in make assignmentsJune McEnroe Otherwise it ends up going into Shell state. 2021-01-18Allow matching lexers using first input lineJune McEnroe