Skip to content

Instantly share code, notes, and snippets.

@jean-felipe
Created September 27, 2024 11:20
Show Gist options
  • Save jean-felipe/4d20ad5fb9e8e772a8a52ca311648c29 to your computer and use it in GitHub Desktop.
Save jean-felipe/4d20ad5fb9e8e772a8a52ca311648c29 to your computer and use it in GitHub Desktop.
import { defineConfig } from 'vite'
import RubyPlugin from 'vite-plugin-ruby'
import FullReload from "vite-plugin-full-reload"
import vue from "@vitejs/plugin-vue"
export default defineConfig({
plugins: [
RubyPlugin(),
FullReload(["config/routes.rb", "app/views/**/*", "app/javascript/**/*"], { delay: 200 }),
vue(),
],
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment