forked from typicode/hotel
-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
Trying to figure out how to get a svelte-kit app (https://kit.svelte.dev) working in chalet. I can get the app running, but it keeps reloading. Svelte-kit apps use vite (https://vitejs.dev) for hot-module-reloading in development, and vite is trying to connect to wss://my-app.localhost:3000 and failing, so it tries reloading, infinitely. Not sure how to get this working so that chalet will forward those web socket connections through to the vite server. Here's my app config:
{
"cwd": "/Users/pascal/Projects/my-svelte-app",
"cmd": "npm run dev",
"xfwd": true,
"out": "app.log",
"env": {
"PATH": "[omitted]",
"PORT": 3000
}
}
I have self-signed SSL working, so the app loads at https://my-app.localhost, but it can't reach wss:my-app.localhost:3000
Will keep trying and report what I find but if anyone has any guidance I'd appreciate it.
rafistrauss
Metadata
Metadata
Assignees
Labels
No labels