search

Home  >  Q&A  >  body text

javascript - webpack-dev-server cannot refresh the browser synchronously when changing css. Is there any way to refresh it synchronously?

The configuration of webpack.config.js is as follows. Updating css cannot refresh the browser synchronously, but updating js can refresh the browser synchronously.

黄舟黄舟2818 days ago574

reply all(2)I'll reply

  • 为情所困

    为情所困2017-05-19 10:22:41

    browser-sync-webpack-plugin
    https://github.com/Va1/browse...

    reply
    0
  • 漂亮男人

    漂亮男人2017-05-19 10:22:41

    Do not use the extract text plug-in in the development environment. If you use it, you will not be able to update the style. Only use it in the production environment

    reply
    0
  • Cancelreply