webpack-dev-server rebuild with ejs

前端 未结 1 528
栀梦
栀梦 2021-02-04 15:16

I\'m using webpack-dev-server with this config:

import webpack from \'webpack\';
import autoprefixer from \'autoprefixer\';
import ExtractTextPlugin from \'extra         


        
相关标签:
1条回答
  • 2021-02-04 15:51

    Run it in watch mode:

    $ webpack-dev-server --watch

    or in webpack.config.js:

    devServer: {
        watchContentBase: true,
    }
    
    0 讨论(0)
提交回复
热议问题