diff --git a/Command/WatchCommand.php b/Command/WatchCommand.php
index <HASH>..<HASH> 100644
--- a/Command/WatchCommand.php
+++ b/Command/WatchCommand.php
@@ -82,6 +82,10 @@ class WatchCommand extends AbstractAssetsCommand
                 $runCommand = new RunCommand();
                 $runCommand->setContainer($this->container);
                 $runCommand->run(new ArrayInput([]), $output);
+    
+                // re-index the sources because they could have been changed during the previous build (for example,
+                // if the destination of a task is the source of an other task, it could lead to infinite build)
+                $indexer->index($sources);
 
                 $this
                     ->io
fix infinite build if a destination of a task is the source of an other one (refs #4)