From e8f302b290b1c68910e5e75a86ac9502288cfb72 Mon Sep 17 00:00:00 2001 From: Jan Keromnes Date: Thu, 17 Dec 2020 22:44:09 +0100 Subject: [PATCH] gitpod: Make Gitpod's automated dev setup automatically run Jekyll and Parcel (#1586) --- .gitpod.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.gitpod.yml b/.gitpod.yml index 811551272..150a4ceee 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -1,10 +1,15 @@ image: gitpod/workspace-full +ports: + - port: 4001 + onOpen: open-preview + +tasks: + - init: yarn install && bundle install + command: env PORT=4001 yarn run dev + github: - # Prebuild the docker image for gitpod - https://www.gitpod.io/docs/46_prebuilds/ + # Prebuild the docker image for gitpod - https://www.gitpod.io/docs/prebuilds/ prebuilds: # enable for the master/default branch master: true - -tasks: - - init: bundle install \ No newline at end of file