We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc6074a commit 448c021Copy full SHA for 448c021
packages/react-scripts/scripts/start.js
@@ -41,8 +41,8 @@ var DEFAULT_PORT = process.env.PORT || 3000;
41
var compiler;
42
var handleCompile;
43
44
-// You can safely remove this after ejecting.
45
-// We only use this block for testing of Create React App itself:
+// @remove-on-eject-begin
+// This block is used for testing of Create React App itself:
46
var isSmokeTest = process.argv.some(arg => arg.indexOf('--smoke-test') > -1);
47
if (isSmokeTest) {
48
handleCompile = function (err, stats) {
@@ -53,6 +53,7 @@ if (isSmokeTest) {
53
}
54
};
55
56
+// @remove-on-eject-end
57
58
function setupCompiler(host, port, protocol) {
59
// "Compiler" is a low-level interface to Webpack.
0 commit comments