From 21cf3060a20cb0f9a3693608dc957ea87d5e533b Mon Sep 17 00:00:00 2001 From: simon lehericey Date: Wed, 17 Jan 2024 09:32:36 +0100 Subject: [PATCH] chore(vite): reload screen when changing components html --- vite.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vite.config.ts b/vite.config.ts index 3d11aec82..fb29eb6e3 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -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()) {