diff --git a/.gitignore b/.gitignore index a8419a718..f89bb0120 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ *.phar .phpunit.result.cache docker-compose.override.yml +.idea/ diff --git a/contrib/yarn.php b/contrib/yarn.php index b7acd39b5..55c60cfe8 100644 --- a/contrib/yarn.php +++ b/contrib/yarn.php @@ -21,7 +21,7 @@ task('yarn:install', function () { if (has('previous_release')) { if (test('[ -d {{previous_release}}/node_modules ]')) { - run('cp -R {{previous_release}}/node_modules {{release_path}}'); + run('cp -al {{previous_release}}/node_modules {{release_path}}'); } } run("cd {{release_path}} && {{bin/yarn}}");