Hey, thanks for all the work on Vite, I've been enjoying using it as a faster alternative. Sorry if this issue was ever brought up before; I dug around a bit but didn't see it here.
Clear and concise description of the problem
I was just building a project and ran 'npx vite run build' (because I'm still very used to Create React App) and Vite doesn't throw any sort of error. It will quickly just tell me the app is running locally, though when I go to Chrome it says: This localhost page can’t be found. It took me a minute to figure out I was supposed to type 'npx vite build' which of course, worked.
Suggested solution
I think a prompt here like "Did you mean npx vite build?" would be helpful and provide more context. Thanks for reading.
Hey, thanks for all the work on Vite, I've been enjoying using it as a faster alternative. Sorry if this issue was ever brought up before; I dug around a bit but didn't see it here.
Clear and concise description of the problem
I was just building a project and ran 'npx vite run build' (because I'm still very used to Create React App) and Vite doesn't throw any sort of error. It will quickly just tell me the app is running locally, though when I go to Chrome it says: This localhost page can’t be found. It took me a minute to figure out I was supposed to type 'npx vite build' which of course, worked.
Suggested solution
I think a prompt here like "Did you mean npx vite build?" would be helpful and provide more context. Thanks for reading.