Skip to content

[Problem] Unocss && writeToDisk infinite hmr loop when dev #1778

Answered by 9aoy
zhtyytg asked this question in Q&A
Discussion options

You must be logged in to vote

maybe you should update your unocss config like this:

export default defineConfig({
  content: {
    filesystem: [
      'src/**/*.{html,js,ts,jsx,tsx,vue,svelte,astro}',
    ]
  },
})

#654 (comment)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@zhtyytg
Comment options

Answer selected by zhtyytg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants