mirror of
https://github.com/simonmichael/hledger.git
synced 2024-12-27 12:24:43 +03:00
;cln: ui: clarify watch loop
This commit is contained in:
parent
c606f874fb
commit
a83c2f6950
@ -196,9 +196,10 @@ runBrickUi uopts@UIOpts{cliopts_=copts@CliOpts{inputopts_=_iopts,reportspec_=rsp
|
||||
watchDate new
|
||||
|
||||
withAsync
|
||||
-- run this small task asynchronously:
|
||||
(getCurrentDay >>= watchDate)
|
||||
$ \_ ->
|
||||
|
||||
-- until this main task terminates:
|
||||
$ \_async ->
|
||||
-- start one or more background threads reporting changes in the directories of our files
|
||||
-- XXX many quick successive saves causes the problems listed in BUGS
|
||||
-- with Debounce increased to 1s it easily gets stuck on an error or blank screen
|
||||
|
Loading…
Reference in New Issue
Block a user