# HG changeset patch # User Drew Perttula # Date 2018-06-07 17:42:36 # Node ID d8ae388a807612b4791ddc3b985e446f0d2b1a10 # Parent 8b9b8584ee429d9961c17d7444b629e4697ea15b autodeps: try pruning some unrelated patches Ignore-this: 5382b18ab437706b00ecc9dad6c08f0 diff --git a/light9/web/graph.coffee b/light9/web/graph.coffee --- a/light9/web/graph.coffee +++ b/light9/web/graph.coffee @@ -119,9 +119,10 @@ class AutoDependencies rerunInners = (cur) => toRun = cur.innerHandlers.slice() for child in toRun - #match = @_handlerIsAffected(child, allPatchSubjs) + match = @_handlerIsAffected(child, subjs) + continue if not match #log('match', child.label, match) - #child.innerHandlers = [] # let all children get called again + child.innerHandlers = [] # let all children get called again @_rerunHandler(child, patch) rerunInners(child)