Fork me on GitHub
#lumo
<
2017-05-05
>
pesterhazy07:05:28

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

pesterhazy07:05:10

no absolute need to build from git 馃檪

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?

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 馃檪

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鈥檒l 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 馃槈

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

anmonteiro15:05:01

馃憤 thanks