File tree 2 files changed +0
-3
lines changed
2 files changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -162,7 +162,6 @@ ghciWatch p mexpr reload shutdown = do
162
162
let reloadEvents = ((() <$ batchedFsEvents) <> reload)
163
163
164
164
rec g <- ghci p sendExpr reloadEvents shutdown
165
- performEvent_ $ liftIO . appendFile " x" . (<> " \n\n " ) . show . (take 1 . reverse . Map. elems) <$> _repl_finished g
166
165
sendExpr <- delay 0.1 $ fforMaybe (_repl_finished g) $ \ finished -> case reverse (Map. elems finished) of
167
166
c@ (Cmd cmd _ _): _ -> if displayCommand cmd == " :r" && hasErrors c
168
167
then Nothing
Original file line number Diff line number Diff line change @@ -182,12 +182,10 @@ repl runRepl cmds isPrompt = do
182
182
new_n <- liftIO $ atomicModifyIORef' n $ \ n' -> (succ n', n')
183
183
pure $ (new_n, input')
184
184
ixedInput <- foldDyn Map. union Map. empty newIxedInput
185
- performEvent_ $ ffor (updated ixedInput) $ liftIO . appendFile " input" . show
186
185
proc <- createProcess runRepl $ ProcessConfig
187
186
{ _processConfig_stdin = fmapMaybe sendCommands cmds
188
187
, _processConfig_signal = never
189
188
}
190
- performEvent_ $ ffor (_process_stderr proc ) $ liftIO . C8. appendFile " stderr"
191
189
pb <- getPostBuild
192
190
exited <- performEventAsync $ ffor pb $ \ _ cb ->
193
191
liftIO $ void $ forkIO $ cb <=< P. waitForProcess $ _process_handle proc
You can’t perform that action at this time.
0 commit comments