nextjournal / clerk

⚡️ Moldable Live Programming for Clojure
https://clerk.vision
ISC License
1.75k stars 75 forks source link

Added exception handling for browser launch (fixes #657) #658

Closed AlexAti closed 2 weeks ago

AlexAti commented 2 weeks ago

In case the platform does not allow the browser launch, the exception is captured, so the serve! function can still serve files in case the ":browse true" option is active.

AlexAti commented 2 weeks ago

Closed as solution was better implemented in https://github.com/nextjournal/clerk/commit/a70fc418c69598e01123c1cd0452f4b705412e8a

mk commented 2 weeks ago

@AlexAti I didn't see your PR until after I implemented a70fc418c69598e01123c1cd0452f4b705412e8a, sorry!

AlexAti commented 1 week ago

No worries, it was just a one-liner! Thanks for the change!