-
I have a task running in the background that generates some plain files like |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
How often does your background task that generates the plain files run? If it's frequent, that could explain why you are experiencing an infinite loop behavior because with --watch flag, your server restarts any time public folder changes. I assume you registered your public folder in .adonisrc.json, and if that's the case, you can modify it like this: {
"metaFiles":[
{
"pattern": "public/**",
"reloadServer: false
}
]
} |
Beta Was this translation helpful? Give feedback.
-
As you are writing files directly to the |
Beta Was this translation helpful? Give feedback.
-
Hello! I'm trying to combine adonisjs with the vite on frontend and i put my |
Beta Was this translation helpful? Give feedback.
How often does your background task that generates the plain files run? If it's frequent, that could explain why you are experiencing an infinite loop behavior because with --watch flag, your server restarts any time public folder changes. I assume you registered your public folder in .adonisrc.json, and if that's the case, you can modify it like this: