diff --git a/src/Command/BuildCommand.php b/src/Command/BuildCommand.php index 30791549..6e0658ce 100644 --- a/src/Command/BuildCommand.php +++ b/src/Command/BuildCommand.php @@ -96,7 +96,7 @@ protected function buildTarget(AssetTarget $build, Factory $factory, Arguments $ $compiler = $factory->compiler(); $name = $writer->buildFileName($build); - if ($writer->isFresh($build) && $args->getOption('force')) { + if ($writer->isFresh($build) && $args->getOption('force') === false) { $io->out('Skip building ' . $name . ' existing file is still fresh.'); return;