Restart Vite Dev Server

Had to restart a project in vscode. I am using vite. How can you restart the dev sever? I have googled it but not really finding an answer. Thanks for any help!
3 Replies
Azyrum
Azyrum2y ago
npm run dev?
Jochem
Jochem2y ago
that is likely the answer. The scripts that run will be in the scripts section of package.json, the default vite project should have a dev script defined if you're not using npm, npx vite should start the dev server
Andrew
AndrewOP2y ago
Thats what I thought.. I will try that again package.json was it..Thanks!
Want results from more Discord servers?
Add your server