A new error reporting solution should be implemented for two scenarios:
immediate reporting upon occurrence (failOnError)
reporting after the process has completed (failAfterError).
When implementing the new error handling, ensure that the module undergoes testing across different scenarios, such as with valid and invalid file contents, to confirm proper error propagation and handling, thereby preventing the gulp.watch() process from stopping.
A new error reporting solution should be implemented for two scenarios:
failOnError
)failAfterError
). When implementing the new error handling, ensure that the module undergoes testing across different scenarios, such as with valid and invalid file contents, to confirm proper error propagation and handling, thereby preventing thegulp.watch()
process from stopping.