When watching files – new errors and warnings don’t show when output hash remains the same.

} else if(stats.hash !== lastHash) {

Output is prevented here based on the hash being identical.

Using preLoader eslint and loader babel.
Babel is formatting the final output of the file. This means I can change the formatting of a file that effects the eslint preloader but doesn’t actually alter the final output. I am not seeing my eslint errors even though new errors are present.

Author: Fantashit

1 thought on “When watching files – new errors and warnings don’t show when output hash remains the same.

  1. An option to fix this issue is to make warnings and error to contribute to the build hash (but not to the chunk hash).

Comments are closed.