Skip to content

Commit bf22257

Browse files
committed
fix serve script
1 parent 2b2e1a5 commit bf22257

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-scripts/bin/react-scripts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const scriptIndex = args.findIndex(
2424
const script = scriptIndex === -1 ? args[0] : args[scriptIndex];
2525
const nodeArgs = scriptIndex > 0 ? args.slice(0, scriptIndex) : [];
2626

27-
if (['build', 'eject', 'server', 'start', 'test'].includes(script)) {
27+
if (['build', 'eject', 'serve', 'start', 'test'].includes(script)) {
2828
const result = spawn.sync(
2929
'node',
3030
nodeArgs

0 commit comments

Comments
 (0)