cryogen-project / cryogen

A simple static site generator written in Clojure
http://cryogenweb.org/
Eclipse Public License 1.0
1.09k stars 96 forks source link

Serve headless with containerized development environment #227

Closed fhdkhan closed 2 years ago

fhdkhan commented 3 years ago

Is there any way to tell lein serve to not to invoke the browser. This is not feasible for containerized development environment.

qdhaiqiang commented 3 years ago

I don’t want it to automatically start the browser, in case frontend is not finished building. How to try?

yogthos commented 3 years ago

You'd have to pass :open-browser? false to ring-server that's started here.

qdhaiqiang commented 3 years ago

@yogthos It's the correct answer, Thanks you very much.

holyjak commented 2 years ago

It will be more obvious after https://github.com/cryogen-project/cryogen/pull/242/files#diff-d5ee148a4a9e78dc4dff6a50dc4fd315a461fbbe00592a1512ad34e0ac426951R84 is released.

Closing, since the question has been answered.