-
-
Notifications
You must be signed in to change notification settings - Fork 341
Description
Further to a recent thread on reddit about methods for reconciliation, there appears to be a bug with hledger-ui
where it does not update automatically when changes to the journal file are saved. The workaround is to manually refresh using g
.
System specifications
Arch Linux 5.12.13-arch1-2
hledger 1.21
Steps to reproduce
-
Edit a journal file
$ vim myfile.journal
Change the flag on any unreconciled transaction inAccount A
by changing<blank>
to*
.
Do not save yet. -
Open a new terminal window and start
hledger-ui
$hledger-ui -f myfile.journal --watch
Navigate toAccount A
and list the transactions so that the just-edited transaction is visible. It should not show a*
flag. -
Return to the editor window and Save the file.
Expected behavior
The edited transaction is updated in the hledger-ui
window and now shows *
Actual behavior
The edited transaction is not updated in the hledger-ui
window.
Workaround
In the hledger-ui
window, refresh the underlying data by pressing g
. The edited transaction is updated and now correctly shows as being reconciled *
.