webpack-dev-server not build file

Created on 3 Feb 2018  路  2Comments  路  Source: webpack/webpack-dev-server

webpack.config.js:

  devServer:{
    inline: true,
    contentBase:'./',
    port:3000
  },

after I change about.js in my project. It outputs:

webpack: Compiling...
Hash: ba77a3145fee91718778
Version: webpack 3.10.0
Time: 28ms
          Asset       Size  Chunks             Chunk Names
about.bundle.js  444 bytes       1  [emitted]  about
 + 2 hidden assets
  [23] (webpack)/hot nonrecursive ^\.\/log$ 170 bytes {2} [built]
  [27] ./dist/about.js 188 bytes {1} [built]
    + 34 hidden modules
webpack: Compiled successfully.

after I changed the code. The calculation of the size of "about.bundle.js" in the log seems right. But the file "about.bundle.js" not changed. So the page not refresh and reload.

How could I debug this bug?

below is the project file link:
https://dev.whosdog.com/webpack.zip

  • Operating System:
  • Node Version: v6.11.2
  • NPM Version: 3.10.10
  • webpack Version: 3.10.0
  • webpack-dev-server Version:2.11.1

  • [X] This is a bug

Most helpful comment

Did you get it fixed?

All 2 comments

Did you get it fixed?

Did you find a solution?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

uMaxmaxmaximus picture uMaxmaxmaximus  路  3Comments

hnqlvs picture hnqlvs  路  3Comments

da2018 picture da2018  路  3Comments

nikirossi picture nikirossi  路  3Comments

piotrszaredko picture piotrszaredko  路  3Comments