diff --git a/lib/Alchemy/Phrasea/Command/Developer/Utils/GruntDriver.php b/lib/Alchemy/Phrasea/Command/Developer/Utils/GruntDriver.php index 4f360714ad..51956c1cf1 100644 --- a/lib/Alchemy/Phrasea/Command/Developer/Utils/GruntDriver.php +++ b/lib/Alchemy/Phrasea/Command/Developer/Utils/GruntDriver.php @@ -40,6 +40,9 @@ class GruntDriver extends AbstractBinary $binaries = $conf->get('grunt.binaries', ['grunt']); - return static::load($binaries, $logger, $conf); + $driver = static::load($binaries, $logger, $conf); + $driver->getProcessBuilderFactory()->getBuilder()->setWorkingDirectory(__DIR__.'/../../../../../..'); + + return $driver; } }