Skip to content
Discussion options

You must be logged in to vote

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
     }
    ]
}

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by jacobq
Comment options

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

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
4 participants