Skip to content

Commit 65f0048

Browse files
committed
3.2.0 start/wpstart changes
1 parent 3948d55 commit 65f0048

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

packages/react-scripts/scripts/start.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ checkBrowsers(paths.appPath, isInteractive)
9595
const protocol = process.env.HTTPS === 'true' ? 'https' : 'http';
9696
const appName = require(paths.appPackageJson).name;
9797
const useTypeScript = fs.existsSync(paths.appTsConfig);
98+
const tscCompileOnError = process.env.TSC_COMPILE_ON_ERROR === 'true';
9899
const urls = prepareUrls(protocol, HOST, port);
99100
const devSocket = {
100101
warnings: warnings =>
@@ -110,6 +111,7 @@ checkBrowsers(paths.appPath, isInteractive)
110111
urls,
111112
useYarn,
112113
useTypeScript,
114+
tscCompileOnError,
113115
webpack,
114116
});
115117
// Load proxy config

packages/react-scripts/scripts/wpstart.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ function startWatch() {
221221

222222
const appName = require(paths.appPackageJson).name;
223223
const useTypeScript = fs.existsSync(paths.appTsConfig);
224+
const tscCompileOnError = process.env.TSC_COMPILE_ON_ERROR === 'true';
224225

225226
const urls = {
226227
localUrlForTerminal: appPackage.browserLaunchTo,
@@ -247,6 +248,7 @@ function startWatch() {
247248
urls,
248249
useYarn,
249250
useTypeScript,
251+
tscCompileOnError,
250252
webpack,
251253
});
252254

0 commit comments

Comments
 (0)