Cannot implement hot update after vue-cli@3x devServer custom configuration?

problem description

after devServer customizes the configuration of the agent, the agent succeeds, but the module cannot be hot updated.

the environmental background of the problems and what methods you have tried

related codes

/ / Please paste the code text below (do not replace the code with pictures)

      devServer: {
    hot: true,
    host: "192.168.1.105",
    port: 8080,
    proxy: {
        "/service": {
            target: serverURI,
            // ws: false,
            changeOrigin: true,
            secure: false,

        },

    }
}

what result do you expect? What is the error message actually seen?

Oct.13,2021

devServer has nothing to do with hot updates. I suggest you try run dev


I have also encountered the same problem. I have tested that a new project with the default configuration can be hot updated. How did you solve it, please?

Menu