S
SolidJS12mo ago
enoro

Window freezes in dev mode

Quite randomly, under circumstances I haven't figured out yet, the window freezes after the next hot reload.
6 Replies
enoro
enoroOP12mo ago
{
"name": "example-bare",
"type": "module",
"scripts": {
"dev": "vinxi dev",
"build": "vinxi build",
"start": "vinxi start",
"server": "bun server.ts"
},
"dependencies": {
"@kobalte/core": "^0.13.6",
"@solidjs/meta": "^0.29.4",
"@solidjs/router": "^0.14.3",
"@solidjs/start": "^1.0.6",
"@supabase/supabase-js": "^2.45.4",
"@tanstack/solid-form": "^0.29.2",
"@tanstack/zod-form-adapter": "^0.29.2",
"@types/lodash": "^4.17.7",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"lodash": "^4.17.21",
"lucide-solid": "^0.439.0",
"solid-js": "^1.8.18",
"tailwind-merge": "^2.5.2",
"tailwindcss-animate": "^1.0.7",
"vinxi": "^0.4.1",
"zod": "^3.23.8"
},
"engines": {
"node": ">=18"
},
"devDependencies": {
"autoprefixer": "^10.4.20",
"postcss": "^8.4.45",
"tailwindcss": "^3.4.10"
}
}
{
"name": "example-bare",
"type": "module",
"scripts": {
"dev": "vinxi dev",
"build": "vinxi build",
"start": "vinxi start",
"server": "bun server.ts"
},
"dependencies": {
"@kobalte/core": "^0.13.6",
"@solidjs/meta": "^0.29.4",
"@solidjs/router": "^0.14.3",
"@solidjs/start": "^1.0.6",
"@supabase/supabase-js": "^2.45.4",
"@tanstack/solid-form": "^0.29.2",
"@tanstack/zod-form-adapter": "^0.29.2",
"@types/lodash": "^4.17.7",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"lodash": "^4.17.21",
"lucide-solid": "^0.439.0",
"solid-js": "^1.8.18",
"tailwind-merge": "^2.5.2",
"tailwindcss-animate": "^1.0.7",
"vinxi": "^0.4.1",
"zod": "^3.23.8"
},
"engines": {
"node": ">=18"
},
"devDependencies": {
"autoprefixer": "^10.4.20",
"postcss": "^8.4.45",
"tailwindcss": "^3.4.10"
}
}
enoro
enoroOP12mo ago
No description
REEEEE
REEEEE12mo ago
could be an infinite loop in your code
enoro
enoroOP12mo ago
it also fixes after server restart strangy the issue is still relevant
REEEEE
REEEEE12mo ago
Hard to diagnose without any code, I would make sure you don't have any infinite loops
enoro
enoroOP12mo ago
I didn't find anything that can be it. bundle is stable in production build, but freezes in dev mode after hot reload sometimes. gonna profile it, maybe I'll find something

Did you find this page helpful?