How to run Webpack Dev Server --https --hot --inline

后端 未结 3 1375
时光说笑
时光说笑 2021-02-09 00:00

Is there a way to leverage running the webpack-dev-server on https when configuring using CLI?

The problem is the connection to socket.io is

3条回答
  •  遇见更好的自我
    2021-02-09 00:45

    I used like this in package.json and started working with port i needed:

    "scripts": {
      "serve": "webpack-dev-server --inline --colors --watch --display-error-details --display-cached  --port 3001 --hot"
    },
    

提交回复
热议问题