Enable CSS hmr for the web dev server.
npm install @chialab/wds-plugin-hmr-css
Wds Plugin Hmr CSS • Enable CSS hmr for the Web Dev Server.
---
``sh`
$ npm i @chialab/wds-plugin-hmr-css -D
$ yarn add @chialab/wds-plugin-hmr-css -D
`js
import { startDevServer } from '@web/dev-server';
import { hmrCssPlugin } from '@chialab/wds-plugin-hmr-css';
await startDevServer({
plugins: [
hmrCssPlugin(),
],
});
``
---
Wds Plugin Hmr CSS is released under the MIT license.