Skip to content

Commit 6f5d9a0

Browse files
committed
fswatch: Watch local-program
1 parent 1387852 commit 6f5d9a0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

builtin-programs/fswatch.folk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Watch for builtin-programs/ changes.
22
try {
3-
set fd [open "|fswatch --recursive --event Updated --event Created builtin-programs" r]
3+
set fd [open [list |fswatch --recursive --event Updated --event Created \
4+
builtin-programs $::env(HOME)/folk-data/local-program] r]
45
fconfigure $fd -buffering line
56
while true {
67
if {[gets $fd line] < 0} {

0 commit comments

Comments
 (0)