Skip to content

Commit 71c4d11

Browse files
deftomatianschmitz
authored andcommitted
Minor performance improvements (facebook#7587)
- use ESLint cache - remove useless `watch` option in fork-ts-checker
1 parent edb3411 commit 71c4d11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-scripts/config/webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,7 @@ module.exports = function(webpackEnv) {
334334
use: [
335335
{
336336
options: {
337+
cache: true,
337338
formatter: require.resolve('react-dev-utils/eslintFormatter'),
338339
eslintPath: require.resolve('eslint'),
339340
resolvePluginsRelativeTo: __dirname,
@@ -690,7 +691,6 @@ module.exports = function(webpackEnv) {
690691
'!**/src/setupProxy.*',
691692
'!**/src/setupTests.*',
692693
],
693-
watch: paths.appSrc,
694694
silent: true,
695695
// The formatter is invoked directly in WebpackDevServerUtils during development
696696
formatter: isEnvProduction ? typescriptFormatter : undefined,

0 commit comments

Comments
 (0)