wevm/vocs

Support HMR For Vocs Config

Opened this issue · 0 comments

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
  }
});