Command looking for file changes only while it working itself. So then you stop command - no more automatic regenerating assets.
On linux its typical ctrl+c or ctrl+x
P.S. some code from DumpCommand
while (true) {
try {
foreach ($this->am->getNames() as $name) {
if ($this->checkAsset($name, $previously)) {
$this->dumpAsset($name, $output);
}
}
// reset the asset manager
$prop->setValue($this->am, array());
$this->am->load();
file_put_contents($cache, serialize($previously));
$error = '';
} catch (\Exception $e) {
if ($error != $msg = $e->getMessage()) {
$output->writeln('<error>[error]</error> '.$msg);
$error = $msg;
}
}
sleep($input->getOption('period'));
}