There was an error while loading. Please reload this page.
1 parent 2b2e1a5 commit bf22257Copy full SHA for bf22257
packages/react-scripts/bin/react-scripts.js
@@ -24,7 +24,7 @@ const scriptIndex = args.findIndex(
24
const script = scriptIndex === -1 ? args[0] : args[scriptIndex];
25
const nodeArgs = scriptIndex > 0 ? args.slice(0, scriptIndex) : [];
26
27
-if (['build', 'eject', 'server', 'start', 'test'].includes(script)) {
+if (['build', 'eject', 'serve', 'start', 'test'].includes(script)) {
28
const result = spawn.sync(
29
'node',
30
nodeArgs
0 commit comments