We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
jsaddle-warp
debug
1 parent 219bde6 commit a9a5d3dCopy full SHA for a9a5d3d
jsaddle-warp/src/Language/Javascript/JSaddle/WebSockets.hs
@@ -243,8 +243,9 @@ jsaddleJs' jsaddleUri refreshOnLoad = "\
243
\"
244
245
-- | Start or restart the server.
246
--- To run this as part of every :reload use
247
--- > :def! reload (const $ return "::reload\\nLanguage.Javascript.JSaddle.Warp.debug 3708 SomeMainModule.someMainFunction")
+-- To run this as part of every GHCI @:reload@ use:
+--
248
+-- >>> :def! reload (const $ return "::reload\nLanguage.Javascript.JSaddle.Warp.debug 3708 SomeMainModule.someMainFunction")
249
debug :: Int -> JSM () -> IO ()
250
debug port f = do
251
debugWrapper $ \withRefresh registerContext ->
0 commit comments