File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
packages/app/src/app/overmind/namespaces/live Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -109,6 +109,7 @@ export const initializeModuleState: Action<IModuleState> = (
109109 } ) ;
110110 Object . keys ( moduleState ) . forEach ( moduleShortid => {
111111 const moduleInfo = moduleState [ moduleShortid ] ;
112+ effects . live . createClient ( moduleShortid , moduleInfo . revision || 0 ) ;
112113
113114 // Module has not been saved, so is different
114115 const module = sandbox . modules . find ( m => m . shortid === moduleShortid ) ;
@@ -145,7 +146,6 @@ export const initializeModuleState: Action<IModuleState> = (
145146 effects . vscode . setModuleCode ( module ) ;
146147 }
147148 }
148- effects . live . createClient ( moduleShortid , moduleInfo . revision || 0 ) ;
149149 }
150150 } ) ;
151151 actions . editor . internal . updatePreviewCode ( ) ;
You can’t perform that action at this time.
0 commit comments