Skip to content

Commit

Permalink
fix(hmr): fix variable
Browse files Browse the repository at this point in the history
  • Loading branch information
ineshbose authored Nov 27, 2024
1 parent a94cbaf commit f47e093
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/internal-context/load.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ const createInternalContext = async (moduleOptions: ModuleOptions, nuxt = useNux
if (Object.keys(configUpdatedHook).includes(join(nuxt.options.rootDir, path))) {
const ctx = twCtx.use()
setTimeout(async () => {
await import(ctx.dst).then(async (config) => {
await import(ctx.dst).then(async (_config) => {
twCtx.set({ config: resolveTWConfig(_config) })
await nuxt.callHook('tailwindcss:internal:regenerateTemplates')
})
Expand Down

0 comments on commit f47e093

Please sign in to comment.