P E N C I L
Login
Webpack dev-server

Webpack.config.

The follow are important

  1. Served content
    The details of served content can be found at http://localhost:9000/webpack-dev-server.
    It includes

    1. Static files in folder devServer/contentBase

    2. Generated bundle index.js. This file is served directly from memory.
      <public_path>/<filename>
      The path is set by /output/publicPath and is overrided by devServer/publicPath. Default=/
      The filename is set by devServer/filename (The config output/path, output/filename has no impact). Default=index.js

    3. Generated index.html. The same url path as bundle.js
      Access: http://localhost/index (do not add .html extension)

  2. port

  3. hot: true
    Hot - reload