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

how to set custom port to command line #145

Open
crane168 opened this issue Nov 5, 2018 · 0 comments
Open

how to set custom port to command line #145

crane168 opened this issue Nov 5, 2018 · 0 comments

Comments

@crane168
Copy link

crane168 commented Nov 5, 2018

I use pm2 start lite-server -- -baseDir="dist" -- port 8000 ,but it doesn't work and the service is still enabled from the default port 3000,But I use pm2 start lite-server -- -baseDir="dist" -c dist/bs-config.json, which can be used。please help me,thank you !

Environment

  • lite-server version: 2.4
  • nodejs version: 8.11.3
  • npm version:5.6.0
  • OS type/version:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant