forked from gatsbyjs/gatsby
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitpod.yml
35 lines (35 loc) · 801 Bytes
/
.gitpod.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
image:
file: .gitpod.Dockerfile
tasks:
- init: >
yarn run bootstrap &&
cd ./examples/gatsbygram &&
yarn install &&
gatsby-dev --set-path-to-repo ../.. &&
gatsby-dev --scan-once &&
npx gatsby build &&
cd ../.. &&
touch /tmp/done.txt
command: >
yarn run watch --scope={gatsby,gatsby-image,gatsby-link}
- openMode: split-right
before: >
cd ./examples/gatsbygram
command: >
gp await-port 8000 &&
gatsby-dev --set-path-to-repo ../.. &&
gatsby-dev
- before: >
cd ./examples/gatsbygram
init: |
until [ -f /tmp/done.txt ]
do
sleep 2
done
command: >
npx gatsby develop
ports:
- port: 8000
onOpen: open-preview
- port: 31997 # yarn mutex
onOpen: ignore