Skip to content

Page still reloads after removing the plugin #2

@jwald1

Description

@jwald1

I've removed the plugin from 'vite.config.ts' but Vite is still reloading the page. My setup was to reload on changes to 'views', 'components', and 'routes.rb'. My current config is:

import { defineConfig } from "vite"
import RubyPlugin from "vite-plugin-ruby"
import StimulusHMR from "vite-plugin-stimulus-hmr"
import yaml from "@rollup/plugin-yaml"

export default defineConfig({
  build: {
    sourcemap: false,
  },
  plugins: [yaml(), RubyPlugin(), StimulusHMR()],
})

I restarted my machine and reinstalled Vite + plugins, but no luck.

Could anyone help with that? Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions