io.monitors.recursive: with-qualified-directory-files works here
parent
48bd0d2b66
commit
ca2aef8e67
|
@ -20,10 +20,9 @@ DEFER: add-child-monitor
|
||||||
|
|
||||||
: add-child-monitors ( path -- )
|
: add-child-monitors ( path -- )
|
||||||
! We yield since this directory scan might take a while.
|
! We yield since this directory scan might take a while.
|
||||||
dup [
|
[
|
||||||
[ append-path ] with map
|
|
||||||
[ add-child-monitor ] each yield
|
[ add-child-monitor ] each yield
|
||||||
] with-directory-files ;
|
] with-qualified-directory-files ;
|
||||||
|
|
||||||
: add-child-monitor ( path -- )
|
: add-child-monitor ( path -- )
|
||||||
notify? [ dup { +add-file+ } monitor tget queue-change ] when
|
notify? [ dup { +add-file+ } monitor tget queue-change ] when
|
||||||
|
|
Loading…
Reference in New Issue