File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
src/client/reactive/active-expression-rewriting Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -405,7 +405,6 @@ const DependenciesToAExprs = {
405405 disconnectAllForAExpr ( aexpr ) {
406406 const location = aexpr . meta ( ) . get ( "location" ) ;
407407 if ( location && location . file ) {
408- for ( const dep of DependenciesToAExprs . getDepsForAExpr ( aexpr ) ) {
409408 DebuggingCache . updateFiles ( [ location . file ] ) ;
410409 if ( this . _AEsPerFile . has ( location . file ) ) {
411410 this . _AEsPerFile . get ( location . file ) . delete ( aexpr ) ;
@@ -416,6 +415,7 @@ const DependenciesToAExprs = {
416415 deps . forEach ( dep => dep . updateTracking ( ) ) ;
417416
418417 // Track affected files
418+ for ( const dep of DependenciesToAExprs . getDepsForAExpr ( aexpr ) ) {
419419 for ( const hook of HooksToDependencies . getHooksForDep ( dep ) ) {
420420 hook . getLocations ( ) . then ( locations => DebuggingCache . updateFiles ( locations . map ( loc => loc . file ) ) ) ;
421421 }
You can’t perform that action at this time.
0 commit comments