Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 443 Bytes

readme.md

File metadata and controls

23 lines (18 loc) · 443 Bytes

web-dev-server-hmr-react

Description

web-dev-server-hmr-react is plugin on web-dev-server to implement HMR for react.

How use

import { startDevServer } from '@web/dev-server'
import { hmrReact } from 'web-dev-server-hmr-react'

(async () => {
    await startDevServer({
        config: {
            open: true,
            plugins: [
                ...await hmrReact(),
            ],
        },
    })
})()