File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
4646- Fixed race condition to over-write the frontend with app infos ([ #15398 ] ( https://github.com/Lightning-AI/lightning/pull/15398 ) )
4747
4848
49- -
49+ - Fixed debugging with VSCode IDE ( [ # 15747 ] ( https://github.com/Lightning-AI/lightning/pull/15747 ) )
5050
5151
5252
Original file line number Diff line number Diff line change @@ -169,17 +169,17 @@ def __init__(
169169
170170 logger .debug (f"ENV: { os .environ } " )
171171
172- def _update_index_file (self ):
173- # update index.html,
174- # this should happen once for all apps before the ui server starts running.
175- frontend .update_index_file (FRONTEND_DIR , info = self .info , root_path = self .root_path )
176-
177172 if _should_dispatch_app ():
178173 os .environ ["LIGHTNING_DISPATCHED" ] = "1"
179174 from lightning_app .runners import MultiProcessRuntime
180175
181176 MultiProcessRuntime (self ).dispatch ()
182177
178+ def _update_index_file (self ):
179+ # update index.html,
180+ # this should happen once for all apps before the ui server starts running.
181+ frontend .update_index_file (FRONTEND_DIR , info = self .info , root_path = self .root_path )
182+
183183 def get_component_by_name (self , component_name : str ):
184184 """Returns the instance corresponding to the given component name."""
185185 from lightning_app .structures import Dict as LightningDict
You can’t perform that action at this time.
0 commit comments