Skip to content

Instantly share code, notes, and snippets.

@maxp
Created May 10, 2019 03:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maxp/b9838533b2e318eda9c4c18530ba9d07 to your computer and use it in GitHub Desktop.
Save maxp/b9838533b2e318eda9c4c18530ba9d07 to your computer and use it in GitHub Desktop.
cljs node repl
(ns build
(:require [cljs.build.api :as b]))
(b/build "src"
{:output-to "main.js"
:output-dir "target"
:optimizations :simple
:target :nodejs
:main 'your-project.core})
;; clj -J-Dclojure.server.node="{:port 5555 :accept cljs.server.node/prepl}" -m cljs.main --repl-env node
@maxp
Copy link
Author

maxp commented May 10, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment