Skip to content

Commit

Permalink
[gitpod] Run "make watch" in a second terminal (#11718)
Browse files Browse the repository at this point in the history
Co-authored-by: Hu谩ng J霉nli脿ng <jlhwung@gmail.com>

[skip ci]
  • Loading branch information
nicolo-ribaudo committed Jun 15, 2020
1 parent e15a5c7 commit fd3c769
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
18 changes: 18 additions & 0 deletions .gitpod.yml
Expand Up @@ -2,6 +2,24 @@
tasks:
- init: make bootstrap
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 鈱楶) 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:
# https://www.gitpod.io/docs/prebuilds/#configure-prebuilds
Expand Down
5 changes: 3 additions & 2 deletions Makefile
Expand Up @@ -256,11 +256,12 @@ publish-eslint:
bootstrap-only: lerna-bootstrap

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
# todo: remove `-- -- --ignore-engines` in Babel 8
$(YARN) lerna bootstrap -- -- --ignore-engines
$(YARN) lerna bootstrap -- -- --ignore-engines --network-timeout 100000

bootstrap: bootstrap-only
$(MAKE) build
Expand Down

0 comments on commit fd3c769

Please sign in to comment.