Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"serve" command #1627

Closed
ghost opened this issue Jan 21, 2021 · 0 comments
Closed

"serve" command #1627

ghost opened this issue Jan 21, 2021 · 0 comments

Comments

@ghost
Copy link

ghost commented Jan 21, 2021

Describe the solution you'd like
Use Vite to quickly test build output locally

Describe alternatives you've considered
Currently, I'm using 3-rd party solution - Local web server
which does exactly what I need by running npm run serve

// package.json
  "scripts": {
    "serve": "ws --directory dist --spa index.html --open"
  }

So can we achieve the same thing by using Vite's internals instead?

@github-actions github-actions bot locked and limited conversation to collaborators Jul 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants