Open derkan opened 8 months ago
Possibly yes eventually, but I haven't really thought much about it yet.
unproven idea. but wouldn't https://github.com/cosmtrek/air do the trick if you were to configure it to watch the .svelte files. it just recompiles go after all :)
air didnt work.
nodemon did :)
{
"name": "svelte-test",
"version": "1.0.0",
"type": "module",
"scripts": {
"dev": "golte dev && go run .",
"watch": "nodemon --watch ./ --signal SIGTERM --exec 'golte dev && go run .'"
},
"dependencies": {
"golte": "0.0.4",
"svelte": "^4.2.9"
},
"nodemonConfig": {
"ext": ".go,.svelte",
"ignore": [
"build/**",
"tmp/**"
]
},
"devDependencies": {
"nodemon": "^3.1.2"
}
}
Here is what you want. https://github.com/TimLai666/golte-cli
Are you planning to add live reload on
svelte
orgo
file change?