Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(e2e-tests): run gatsby-dev without --copy-all #13230

Merged
merged 11 commits into from
Apr 9, 2019
2 changes: 2 additions & 0 deletions packages/gatsby/src/bootstrap/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/* @flow */

// hi

const _ = require(`lodash`)
const slash = require(`slash`)
const fs = require(`fs-extra`)
Expand Down
3 changes: 1 addition & 2 deletions scripts/e2e-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ command -v sudo && sudo npm install -g gatsby-dev-cli || npm install -g gatsby-d

# setting up child integration test link to gatsby packages
cd $SRC_PATH &&
yarn &&
gatsby-dev --set-path-to-repo $GATSBY_PATH &&
gatsby-dev --scan-once --copy-all --quiet && # copies _all_ files in gatsby/packages
gatsby-dev --scan-once --quiet && # copies _all_ files in gatsby/packages
chmod +x ./node_modules/.bin/gatsby && # this is sometimes necessary to ensure executable
sh -c "$CUSTOM_COMMAND" &&
echo "e2e test run succeeded"