After updating to react-scripts 5 I am unable to use cra-build-watch, which for me worked really well.
As part of the investigation to resolve I found your suggestion to try the beta and so I did.
The installation and update of the webpack config succeeded but failed the start.
is this issue currently blocking your project? (no):
is this issue affecting a production system? (no):
Context
node version: 16.13.1
module version with issue:
last module version without issue:
environment (e.g. node, browser, native): node
used with (e.g. hapi application, another framework, standalone, ...): react-scripts 5, webpack 5.66
any other relevant information:
What was the result you got?
rimraf ./build && react-scripts start
Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
options has an unknown property 'writeToDisk'. These properties are valid:
object { allowedHosts?, bonjour?, client?, compress?, devMiddleware?, headers?, historyApiFallback?, host?, hot?, http2?, https?, ipc?, liveReload?, magicHtml?, onAfterSetupMiddleware?, onBeforeSetupMiddleware?, onListening?, open?, port?, proxy?, server?, setupExitSignals?, setupMiddlewares?, static?, watchFiles?, webSocketServer? }
What result did you expect?
To be able to run react-scripts start and see the build folder being generated
After updating to react-scripts 5 I am unable to use cra-build-watch, which for me worked really well. As part of the investigation to resolve I found your suggestion to try the beta and so I did. The installation and update of the webpack config succeeded but failed the start.
Context
What was the result you got?
What result did you expect?
To be able to run react-scripts start and see the build folder being generated