Skip to content

Commit 0eb9708

Browse files
committed
[gitpod-setup] fix the preview opening issue.
1 parent 378f151 commit 0eb9708

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.gitpod.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
tasks:
2+
- command: gp await-port 3000 && sleep 3 && gp preview $(gp url 3000)
23
- init: npm install
34
command: npm run dev
45
ports:
56
- port: 3000
6-
onOpen: open-preview
7+
onOpen: ignore
78
vscode:
89
extensions:
910
- sysoev.language-stylus@1.11.0:xX39oruAJ5UQzTNVRdbBaQ==

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,9 @@ Move to [awesome-docsify](https://github.com/docsifyjs/awesome-docsify#showcase)
6868
| [docute](https://github.com/egoist/docute) | 📜 Effortlessly documentation done right |
6969
| [docpress](https://github.com/docpress/docpress) | Documentation website generator |
7070

71-
## Online one-click setup for Contributing
71+
## Contributing
72+
73+
### Online one-click setup for Contributing
7274

7375
You can use Gitpod(A free online VS Code-like IDE) for contributing. With single click it'll launch a workspace and automatically:
7476

0 commit comments

Comments
 (0)