Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Quafadas committed May 25, 2024
1 parent 0557bb0 commit 8921041
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions project/src/live.server.scala
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ object LiveServer
"browse-on-open-at",
"A suffix to localhost where we'll open a browser window on server start - e.g. /ui/greatPage OR just `/` for root "
)
.orNone
.withDefault("/")

val baseDirOpt =
Opts
Expand Down Expand Up @@ -292,7 +292,7 @@ object LiveServer
_ <- logger.info(s"Start dev server on http://localhost:$port").toResource
server <- buildServer(app, port)

- <- openBrowser(openBrowserAt, port)(logger).toResource
- <- openBrowser(Some(openBrowserAt), port)(logger).toResource
yield server

server.use(_ => IO.never).as(ExitCode.Success)
Expand Down

0 comments on commit 8921041

Please sign in to comment.