mirror of
https://github.com/livebook-dev/livebook.git
synced 2024-09-20 10:05:57 +08:00
Disable automatic update when running flyctl proxy (#2723)
This commit is contained in:
parent
303f78a418
commit
a4cc39ec22
|
@ -267,10 +267,12 @@ defmodule Livebook.Runtime.Fly do
|
|||
"--watch-stdin"
|
||||
]
|
||||
|
||||
env = [{~c"FLY_NO_UPDATE_CHECK", ~c"1"}]
|
||||
|
||||
port =
|
||||
Port.open(
|
||||
{:spawn_executable, flyctl_path},
|
||||
[:binary, :hide, :stderr_to_stdout, args: args]
|
||||
[:binary, :hide, :stderr_to_stdout, args: args, env: env]
|
||||
)
|
||||
|
||||
port_ref = Port.monitor(port)
|
||||
|
|
Loading…
Reference in a new issue