Skip to content
This repository was archived by the owner on Nov 9, 2024. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .config/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,9 @@ const configs = {
contentBase: 'test/visual',
port: 1234,
}),
livereload(),
livereload({
clientUrl: process.env.CLIENT_URL
}),
],
output: {
file: 'test/visual/dist/bundle.js',
Expand Down
22 changes: 22 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
tasks:
- name: Rollup
init: |
yarn install
gp sync-done install
command: |
export CLIENT_URL="$(gp url 35729)/livereload.js?snipver=1&port=443"
yarn dev

- name: Website
before: cd website/
init: |
gp sync-await install
yarn install
command: yarn dev
openMode: split-right

ports:
- port: 1234
onOpen: open-preview
- port: 8000
onOpen: open-preview
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
<a href="https://github.com/atomiks/tippyjs/blob/master/LICENSE">
<img src="https://img.shields.io/npm/l/tippy.js.svg?color=%23c677cf&style=for-the-badge" alt="MIT License">
</a>
<a href="https://gitpod.io/from-referrer/">
<img src="https://img.shields.io/badge/Gitpod-Ready--to--Code-blue?logo=gitpod&style=for-the-badge" alt="Gitpod Ready-to-Code">
</a>
<br>
<br>
</div>
Expand Down