webpack --watch isn't compiling changed files

后端 未结 30 1140
眼角桃花
眼角桃花 2020-12-02 06:00

I tried running webpack --watch and after editing my JS files, it doesn\'t trigger an auto-recompilation.

I\'ve tried reinstalling webpack

30条回答
  •  北荒
    北荒 (楼主)
    2020-12-02 06:14

    I met the same issue, tried many things, finally Chrome Clear Browsing Data on Mac worked for me.

    These modules have been installed:

    "browser-sync": "^2.26.7",

    "browser-sync-webpack-plugin": "^2.2.2",

    "webpack": "^4.41.2",

    "webpack-cli": "^3.3.9"

提交回复
热议问题