.gitpod.yml
file in the root of your project and add the following to it:
5173
.
CLIENT_URL
in the .gitpod.yml
config file as shown below please make sure that you set it up before the task which starts the dev server(which is npm run dev
in this case):
CLIENT_URL
environment variable to the rollup-plugin-livereload
in rollup-config.js
inside of the plugins
array as shown:
CLIENT_URL
to the workspace url of port 35729
(default port for livereload in Gitpod).
Repository | Description | Try it |
---|---|---|
Sveltekit template | A SvelteKit template |