File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,8 @@ defmodule Livebook.MixProject do
3535 end
3636
3737 def application do
38+ env = Application . get_all_env ( :livebook )
39+
3840 [
3941 mod: { Livebook.Application , [ ] } ,
4042 extra_applications: [
@@ -47,7 +49,9 @@ defmodule Livebook.MixProject do
4749 :crypto ,
4850 :public_key
4951 ] ,
50- env: Application . get_all_env ( :livebook )
52+ # Erase live reload as it contains regexes which fails
53+ # when loaded in the next run
54+ env: put_in ( env [ LivebookWeb.Endpoint ] [ :live_reload ] , [ ] )
5155 ]
5256 end
5357
@@ -196,7 +200,6 @@ defmodule Livebook.MixProject do
196200 defp write_runtime_modules ( release ) do
197201 # We copy the subset of Livebook modules that are injected into
198202 # the runtime node. See overlays/bin/server for more details
199-
200203 app = release . applications [ :livebook ]
201204
202205 source = Path . join ( [ release . path , "lib" , "livebook-#{ app [ :vsn ] } " , "ebin" ] )
You can’t perform that action at this time.
0 commit comments