This is a project template for Svelte + Tailwind apps.
Thanks to Shawn Wang's How to Set Up Svelte with Tailwind CSS.
Rollup needs to know how to reach the livereload endpoint. To configure that we need to do two things in our config:
export CLIENT_URL="$(gp url 35729)/livereload.js?snipver=1&port=443"
rollup.config.js:65
!production && livereload({
watch: 'public',
clientUrl: process.env.CLIENT_URL
}),
This will set CLIENT_URL
with the workspace url of 35729
(default port for livereload).