Skip to content

Commit

Permalink
Minor performance improvements (#7587)
Browse files Browse the repository at this point in the history
- use ESLint cache
- remove useless `watch` option in fork-ts-checker
  • Loading branch information
deftomat authored and ianschmitz committed Sep 11, 2019
1 parent edb3411 commit 71c4d11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-scripts/config/webpack.config.js
Expand Up @@ -334,6 +334,7 @@ module.exports = function(webpackEnv) {
use: [
{
options: {
cache: true,
formatter: require.resolve('react-dev-utils/eslintFormatter'),
eslintPath: require.resolve('eslint'),
resolvePluginsRelativeTo: __dirname,
Expand Down Expand Up @@ -690,7 +691,6 @@ module.exports = function(webpackEnv) {
'!**/src/setupProxy.*',
'!**/src/setupTests.*',
],
watch: paths.appSrc,
silent: true,
// The formatter is invoked directly in WebpackDevServerUtils during development
formatter: isEnvProduction ? typescriptFormatter : undefined,
Expand Down

0 comments on commit 71c4d11

Please sign in to comment.