diff --git a/lib/dynflow/middleware/world.rb b/lib/dynflow/middleware/world.rb
index <HASH>..<HASH> 100644
--- a/lib/dynflow/middleware/world.rb
+++ b/lib/dynflow/middleware/world.rb
@@ -7,6 +7,7 @@ module Dynflow
     end
 
     def use(*args)
+      clear_cache!
       @register.use(*args)
     end
Make sure to reload cache when adding new middleware to world