Created
May 10, 2019 03:11
-
-
Save maxp/b9838533b2e318eda9c4c18530ba9d07 to your computer and use it in GitHub Desktop.
cljs node repl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://dev.to/swlkr/how-i-made-the-world-s-worst-clojurescript-repl-llg