Next.js Discord

Discord Forum

Override next dev watcher part behaviour

Unanswered
Philippine Crocodile posted this in #help-forum
Open in Discord
Philippine CrocodileOP
Hello. I'm developing a custom build system and I want to make it work with next, especially next dev. The issue is that I want HMR to work all time, but just freeze the reload part until I do some operations on the file system. Basically, disallow next to reload for some time. Stopping next dev and rerunning it is not a quite good option because its slow to cold start

0 Replies