Skip to content

Commit

Permalink
chore(vite): reload screen when changing components html
Browse files Browse the repository at this point in the history
  • Loading branch information
LeSim committed Jan 25, 2024
1 parent 7e85559 commit 21cf306
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {
Expand Down

0 comments on commit 21cf306

Please sign in to comment.