Adding directories for dev mode file monitoring
Unanswered
Blanc de Hotot posted this in #help-forum
Blanc de HototOP
Is there a convenient way to add directories for file watching when using development mode via ‘next dev’? I would expect to see such an option in next.config.js but the best suggestion I’ve seen is to use a 3rd party solution like chokidir and add a separate management script but there not being an integrated solution for this seems ridiculous, so figured I’d ask.
In my specific case I’ve found through testing that changes to my Mongoose model files living in src/lib/models are not being watched even though they’re included by various api endpoints and components.
In my specific case I’ve found through testing that changes to my Mongoose model files living in src/lib/models are not being watched even though they’re included by various api endpoints and components.