Skip to content

Commit 5e79ffa

Browse files
author
Morten N.O. Henriksen
committed
Remove unused variables in start command
1 parent 33f9064 commit 5e79ffa

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

packages/react-scripts/scripts/start.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -101,19 +101,12 @@ checkBrowsers(paths.appPath, isInteractive)
101101
const appName = require(paths.appPackageJson).name;
102102

103103
const useTypeScript = fs.existsSync(paths.appTsConfig);
104-
const tscCompileOnError = process.env.TSC_COMPILE_ON_ERROR === 'true';
105104
const urls = prepareUrls(
106105
protocol,
107106
HOST,
108107
port,
109108
paths.publicUrlOrPath.slice(0, -1)
110109
);
111-
const devSocket = {
112-
warnings: warnings =>
113-
devServer.sockWrite(devServer.sockets, 'warnings', warnings),
114-
errors: errors =>
115-
devServer.sockWrite(devServer.sockets, 'errors', errors),
116-
};
117110
// Create a webpack compiler that is configured with custom messages.
118111
const compiler = createCompiler({
119112
appName,

0 commit comments

Comments
 (0)