diff --git a/packages/core/build/flecks.js b/packages/core/build/flecks.js index 65e5c61..77c6eb9 100644 --- a/packages/core/build/flecks.js +++ b/packages/core/build/flecks.js @@ -467,7 +467,10 @@ class Flecks { } } }); - this.invoke('@flecks/core.priority', graph, hook); + // Avoid re-entry. + if ('@flecks/core.priority' !== hook) { + this.invoke('@flecks/core.priority', graph, hook); + } return graph; }