We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9cb4457 commit 6fff616Copy full SHA for 6fff616
src/common/HaskellDo/State.hs
@@ -80,9 +80,13 @@ _update (CodeMirrorAction action) appState = do
80
codeMirrorState = newCodeMirrorState
81
}
82
83
-
84
if compileShortcutPressed
85
- then update (ToolbarAction Toolbar.Compile) newState
+ then do
+ _ <- atRemote $ Compilation.update
86
+ (Compilation.WriteWorkingFile newContent)
87
+ (compilationState appState)
88
+
89
+ update (ToolbarAction Toolbar.Compile) newState
90
else return newState
91
92
_update (ToolbarAction Toolbar.Compile) appState = do
0 commit comments