[SOLVED] Open existing livebook server, if exists, when using a file/directory #2706
Replies: 2 comments 6 replies
-
@joshuataylor when you run
It should not, and since by default we always use the same port, that would fail anyway. Can you provide more details? |
Beta Was this translation helpful? Give feedback.
-
Ah yes, I was just playing around with the "native app" vs the escript installed version, and found there must be something weird going on with the MacOS binary? If I use these instructions: mix do local.rebar --force, local.hex --force
mix escript.install hex livebook
# Start the Livebook server
livebook server This seems to work: LIVEBOOK_PORT=19092 LIVEBOOK_IP=127.0.0.1 LIVEBOOK_IFRAME_PORT=19023 LIVEBOOK_PASSWORD=helloworld123 livebook server mint.livemd However using 18:18:54.468 [error] Running LivebookWeb.IframeEndpoint with Bandit 1.5.3 at http failed, port 19023 already in use
ERROR!!! [Livebook] shutdown: failed to start child: {Bandit, #Reference<0.1765237902.3240361996.241617>}
** (EXIT) shutdown: failed to start child: :listener
** (EXIT) :eaddrinuse
[os_mon] memory supervisor port (memsup): Erlang has closed
[os_mon] cpu supervisor port (cpu_sup): Erlang has closed
MacOS ARM64, Ventura I will collect additional information and see if it's a bug. |
Beta Was this translation helpful? Give feedback.
-
This is more of a feature request/idea than an issue, so putting here.
When running livebook locally, you have a server which is running:
I would love to then be able to open livemd files, or directories using this existing connection, or start a new server if one is not already started.
Right now it will start a new server.
For context, when using WezTerm I use
SUPER
+left click
to open files in an editor, using custom logic, and was hoping livemd could be used to run a command to open in existing livebook server?Beta Was this translation helpful? Give feedback.
All reactions