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