Skip to content

Commit 9db42a8

Browse files
committed
šŸ› FIX: workaround for failing gp open call, see #19
1 parent f211da1 commit 9db42a8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

ā€Ž.gitpod.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,11 @@ tasks:
3131
name: Web Server
3232
- openMode: split-right
3333
command: |
34-
bash .gp/bash/open-preview.sh && exit
34+
if bash .gp/bash/open-preview.sh; then \
35+
exit \
36+
else \
37+
echo -e "Gitpod Internal Error: gp preview\nIf the preview browser is not open you may open it or refresh it by running the alias: op" \
38+
fi
3539
name: Extra Terminal
3640

3741
vscode:

0 commit comments

Comments
Ā (0)