Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support HMR For Vocs Config #126

Open
codingwithmanny opened this issue Mar 2, 2024 · 0 comments
Open

Support HMR For Vocs Config #126

codingwithmanny opened this issue Mar 2, 2024 · 0 comments

Comments

@codingwithmanny
Copy link
Sponsor Contributor

Context

As I'm updating the theme config in vocs.config.ts I would like it so that changes are applied immediately versus restarting the server to see those changes.

Example:

File: ./vocs.config.ts

import { defineConfig } from "vocs";

export default defineConfig({
  theme: {
    accentColor: "red" // <----- When I save this, I would like that the site refreshes
  }
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant