Skip to content
This repository has been archived by the owner on Jan 4, 2023. It is now read-only.

Commit

Permalink
Workaround eslint stopping the webpack watch task
Browse files Browse the repository at this point in the history
Sourced from active issue comment:
webpack-contrib/eslint-loader#168
  • Loading branch information
mehigh committed Aug 1, 2017
1 parent a870a6d commit 005158e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/tasks/js.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,11 @@ if ( tasks.js ) {
] ]
}
}, {
loader: 'eslint-loader'
loader: 'eslint-loader',
options: {
failOnError: isProd ? true : false,
emitWarning: true
}
} ]
}
]
Expand Down

0 comments on commit 005158e

Please sign in to comment.