[gitpod] Run "make watch" in a second terminal (#11718)

Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com>

[skip ci]
This commit is contained in:
Nicolò Ribaudo 2020-06-15 23:35:19 +02:00 committed by GitHub
parent e15a5c7509
commit fd3c76941e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 2 deletions

View File

@ -2,6 +2,24 @@
tasks: tasks:
- init: make bootstrap - init: make bootstrap
command: make watch command: make watch
- openMode: split-right
command: |-
clear && echo '
Welcome to Gitpod!
If you haven'\''t forked Babel yet and you want to prepare a PR, you can use
the Ctrl+P (or ⌘P) shortcut, type `>Fork` and press ENTER: Gitpod\ will
create the fork for you.
<-- The other terminal is building Babel. It should automatically rebuild
when you change a file, so you don'\''t need to worry about it.
If it'\''s still building, please wait until it'\''s finished!
If you want to run the tests, you can run `yarn jest` in this terminal,
or filter by package name (for example, `yarn jest babel-parser`).
'
#' # <-- This is just because the gitpod theme has broken syntax highlighting
github: github:
# https://www.gitpod.io/docs/prebuilds/#configure-prebuilds # https://www.gitpod.io/docs/prebuilds/#configure-prebuilds

View File

@ -256,11 +256,12 @@ publish-eslint:
bootstrap-only: lerna-bootstrap bootstrap-only: lerna-bootstrap
yarn-install: clean-all yarn-install: clean-all
yarn --ignore-engines # Gitpod prebuilds have a slow network connection, so we need more time
yarn --ignore-engines --network-timeout 100000
lerna-bootstrap: yarn-install lerna-bootstrap: yarn-install
# todo: remove `-- -- --ignore-engines` in Babel 8 # todo: remove `-- -- --ignore-engines` in Babel 8
$(YARN) lerna bootstrap -- -- --ignore-engines $(YARN) lerna bootstrap -- -- --ignore-engines --network-timeout 100000
bootstrap: bootstrap-only bootstrap: bootstrap-only
$(MAKE) build $(MAKE) build