Clojurians
#lumo
<
2017-05-05
>

This page is not created by, affiliated with, or supported by Slack Technologies, Inc.

pesterhazy07:05:28

@cfleming older versions have archived binaries on the github release page

pesterhazy07:05:10

no absolute need to build from git :slightly_smiling_face:

vikeri09:05:02

Upgraded lumo to 1.4.1 but it does no longer wait when I start a simple web server:

(def http (nodejs/require "http"))

(-> (.createServer http (fn [req res] 
		(doto res
    		(.writeHead 200 {"Content-Type" "text/plain"})
    		(.end "Hello from ClojureScript"))))
	(.listen 8080 "127.0.0.1"))

(println "Running on port 8080")
But instead just exits, can I somehow make it stay alive?

pesterhazy10:05:22

@vikeri from the repl or from a script?

vikeri10:05:06

@pesterhazy From a script

pesterhazy10:05:52

can reproduce locally

pesterhazy10:05:24

works with 1.2.0

pesterhazy10:05:20

getting node to exist properly seems to be thorny issue :slightly_smiling_face:

anmonteiro14:05:01

@vikeri sorry that was a bad regression

anmonteiro14:05:23

If you're on a mac, do brew install --HEAD lumo

vikeri14:05:47

@anmonteiro Ok I’ll try it!

anmonteiro14:05:27

It'll take a long while to install, but that's expected

vikeri14:05:56

Haha yeah I remember that from last time :wink:

anmonteiro14:05:17

@vikeri let me know if it's affecting more people and I'll make a release

vikeri15:05:06

@anmonteiro Can confirm that the latest HEAD works