ui: make --watch work on the error screen too
This commit is contained in:
		
							parent
							
								
									9952f93e97
								
							
						
					
					
						commit
						eac2ff0ea7
					
				| @ -92,7 +92,7 @@ esHandle ui@UIState{ | ||||
|             (pos,f) = case parsewithString hledgerparseerrorpositionp esError of | ||||
|                         Right (f,l,c) -> (Just (l, Just c),f) | ||||
|                         Left  _       -> (endPos, journalFilePath j) | ||||
|         e | e `elem` [VtyEvent (EvKey (KChar 'g') [])] -> | ||||
|         e | e `elem` [VtyEvent (EvKey (KChar 'g') []), AppEvent FileChange] -> | ||||
|           liftIO (uiReloadJournal copts d (popScreen ui)) >>= continue . uiCheckBalanceAssertions d | ||||
| --           (ej, _) <- liftIO $ journalReloadIfChanged copts d j | ||||
| --           case ej of | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user