You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/service-repl-workflow/integrant/integrant-system.md
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -72,9 +72,13 @@ HTTP server start - returns function to stop the server
72
72
(defmethod ig/init-key ::http-server
73
73
[_ {:keys[handler port join?]}]
74
74
(mulog/log ::http-server-component :handler handler :port port :local-time (java.time.LocalDateTime/now))
75
-
(http-server/run-server handler {:port port :join? join?}))
75
+
(http-server/run-server #'handler {:port port :join? join?}))
76
76
```
77
77
78
+
!!! HINT "Quote handler function to evaluate changes"
79
+
Use `#'` reader quote when passing the `handler` function to the server so that changes to the code called by the handler function can be updated by evaluating those changes in the REPL.
80
+
81
+
78
82
## Shutdown Components
79
83
80
84
Define how each component should be halted (if required)
0 commit comments