lite-server
lite-server copied to clipboard
how to set custom port to command line
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-serverversion: 2.4nodejsversion: 8.11.3npmversion:5.6.0- OS type/version: