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/).
46
46
- Fixed race condition to over-write the frontend with app infos ([ #15398 ] ( https://github.com/Lightning-AI/lightning/pull/15398 ) )
47
47
48
48
49
- -
49
+ - Fixed debugging with VSCode IDE ( [ # 15747 ] ( https://github.com/Lightning-AI/lightning/pull/15747 ) )
50
50
51
51
52
52
Original file line number Diff line number Diff line change @@ -169,17 +169,17 @@ def __init__(
169
169
170
170
logger .debug (f"ENV: { os .environ } " )
171
171
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
-
177
172
if _should_dispatch_app ():
178
173
os .environ ["LIGHTNING_DISPATCHED" ] = "1"
179
174
from lightning_app .runners import MultiProcessRuntime
180
175
181
176
MultiProcessRuntime (self ).dispatch ()
182
177
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
+
183
183
def get_component_by_name (self , component_name : str ):
184
184
"""Returns the instance corresponding to the given component name."""
185
185
from lightning_app .structures import Dict as LightningDict
You can’t perform that action at this time.
0 commit comments