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 !
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 usepm2 start lite-server -- -baseDir="dist" -c dist/bs-config.json
, which can be used。please help me,thank you !Environment
lite-server
version: 2.4nodejs
version: 8.11.3npm
version:5.6.0