Nextjs 11.1.0 does not watch code changes in node_modules dir while Nextjs 10.2.1 does watch code changes in node_modules dir.
At project with Nextjs 11.1.0 I have explicitly set watch options:
config.watchOptions.ignored = config.watchOptions.ignored.filter(
ignore => !ignore.toString().includes('node_modules'),
)
Though, it does not make any difference. Rebuilding project next build does help but it takes too long to compile.
Through trial and error I find a work-a-round. I get my changes at /node_modules folder recompiled after making any change and save at babel.config.js.