!nUoTgEvlAqyrKwctnB:matrix.org

macchiato

86 Members
Macchiato framework for ClojureScript and Node https://github.com/macchiato-framework25 Servers

Load older messages


SenderMessageTime
26 Dec 2020
@einar:feneas.org@einar:feneas.org left the room.21:26:20
@gretel:utwente.io@gretel:utwente.io left the room.22:47:21
27 Dec 2020
@spring:fairydust.space@spring:fairydust.space 17:40:13
@spring:fairydust.space@spring:fairydust.space left the room.18:31:44
28 Dec 2020
@joey:halogen.city@joey:halogen.city 10:56:03
@joey:halogen.city@joey:halogen.city left the room.10:57:21
6 Jan 2021
@_slack_clojurians_UGMEQUCTV:matrix.orgvishal.gautam joined the room.16:35:40
@_slack_clojurians_UGMEQUCTV:matrix.orgvishal.gautam Hello 16:35:40
@_slack_clojurians_UGMEQUCTV:matrix.orgvishal.gautam I am try to implement automatic code reloading in my macchiato app. I am following the guestbook tutorial 16:36:57
12 Jan 2021
@donald:hope.net@donald:hope.net left the room.18:03:16
16 Feb 2021
@tamara:nltrix.net@tamara:nltrix.net 08:12:35
@tamara:nltrix.net@tamara:nltrix.net removed their display name tamara.08:13:45
@tamara:nltrix.net@tamara:nltrix.net left the room.10:59:32
19 Aug 2021
@andreas:server.matrix4ulm.de@andreas:server.matrix4ulm.de 19:10:28
@andreas:server.matrix4ulm.de@andreas:server.matrix4ulm.de removed their display name andreas.19:11:25
@andreas:server.matrix4ulm.de@andreas:server.matrix4ulm.de left the room.19:22:16
25 Sep 2021
@_slack_clojurians_U0NBGRGD6:matrix.orgdoglooksgood joined the room.07:46:33
@_slack_clojurians_U0NBGRGD6:matrix.orgdoglooksgood Hi, is there a stop server function in macchiato? 07:46:33
@_slack_clojurians_U662GKS3F:matrix.orgnenadalm hi. start fn returns server: https://github.com/macchiato-framework/macchiato-core/blob/master/src/macchiato/server.cljs#L35 that you can close using close method: https://nodejs.org/dist/latest-v14.x/docs/api/http.html#http_server_close_callback 12:38:14
@_slack_clojurians_U0NBGRGD6:matrix.orgdoglooksgood I see, the server is the server start with http module. Thank you! 13:18:05
6 Oct 2021
@slackbot:matrix.orgSlack Integration 08:32:59
27 Jan 2022
@_slack_clojurians_U0DJ4T5U1:matrix.orgdrewverlee joined the room.03:41:53
@_slack_clojurians_U0DJ4T5U1:matrix.orgdrewverlee GMEQUCTV if you found a way to implement automic code reloading in the macchiato app i would love to hear it. My theory is that ill be stopping the server then loading the changes, then starting the server. I'm actually not sure i need this to bad sense i don't think my routes will change very often, but it would be nice to have. 03:41:53
@_slack_clojurians_U662GKS3F:matrix.orgnenadalm I didn't touch my demo app for a while but I believe that reloading routing worked for me. The way I did it is that on each request I just recreated the router though if debug was on: https://github.com/nenadalm/spa-demo/blob/master/server/src/app/routes.cljs#L138 17:23:56
@_slack_clojurians_U662GKS3F:matrix.orgnenadalm maybe it could be also done via mount: https://github.com/tolitius/mount#recompiling-namespaces-with-running-states if the server was it's component. 17:25:12
28 Jan 2022
@_slack_clojurians_U0DJ4T5U1:matrix.orgdrewverlee thanks for the follow up. How could you re-create the router if the server was running? wouldn't it complain about the port already being taken? 01:31:03
@_slack_clojurians_U0DJ4T5U1:matrix.orgdrewverlee Or are you just referring to the router, and not the running server process? 01:31:22
@_slack_clojurians_U662GKS3F:matrix.orgnenadalm > Or are you just referring to the router, and not the running server process? exactly. by router I meant reitit router. Here it gets created on each request: Or are you just referring to the router, and not the running server process? 16:27:16
29 Jan 2022
@_slack_clojurians_U0DJ4T5U1:matrix.orgdrewverlee I guess maybe you don't need to restart the server if you can update the program it's um calling out to? 04:16:12
@_slack_clojurians_U0NBGRGD6:matrix.orgdoglooksgood How can I extend transit writer for wrap-restful-format, the document is not clear to me. It asked for {:type .. :opts ...}, where can I find their definitions? 09:40:26

Show newer messages


Back to Room ListRoom Version: