chore(vite): reload screen when changing components html
This commit is contained in:
parent
7e8555923f
commit
21cf3060a2
|
@ -7,7 +7,7 @@ import RubyPlugin from 'vite-plugin-ruby';
|
||||||
const plugins = [
|
const plugins = [
|
||||||
RubyPlugin(),
|
RubyPlugin(),
|
||||||
ViteReact({ jsxRuntime: 'classic' }),
|
ViteReact({ jsxRuntime: 'classic' }),
|
||||||
FullReload(['config/routes.rb', 'app/views/**/*'], { delay: 200 })
|
FullReload(['config/routes.rb', 'app/views/**/*', 'app/components/**/*.haml'], { delay: 200 })
|
||||||
];
|
];
|
||||||
|
|
||||||
if (shouldBuildLegacy()) {
|
if (shouldBuildLegacy()) {
|
||||||
|
|
Loading…
Reference in a new issue