In this project the index.html
is registered as a PostCSS dependency:
result.messages.push({
type: 'dependency',
file: path.resolve(__dirname, 'index.html'),
plugin: 'plugin',
parent: result.opts.from,
})
Typically when editing the index.html
file the browser window will automatically reload, but in this example it does not.
npm install
npm run dev
- Edit
index.html
and notice that the browser window does not reload as expected