File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ async function start() {
152152 *
153153 * If only `--port` is provided then connect to that port.
154154 *
155- * In absence of specified ports, connect to port 8000 .
155+ * In absence of specified ports, connect to port 3000 .
156156 * @param {string | undefined } strPort
157157 * @param {string | undefined } strPickPort
158158 * @returns {Promise<number> }
@@ -166,7 +166,7 @@ async function parsePort(strPort, strPickPort) {
166166 if ( ! isNaN ( port ) ) {
167167 specificPort = port ;
168168 } else {
169- console . log ( 'Port is not a number, will default to 8000 if no pick-port is given.' ) ;
169+ console . log ( 'Port is not a number, will default to 3000 if no pick-port is given.' ) ;
170170 }
171171 }
172172
@@ -181,18 +181,18 @@ async function parsePort(strPort, strPickPort) {
181181 return await findFreePort ( start , start , end ) ;
182182 }
183183 } else {
184- console . log ( 'Port range are not numbers, using 8000 instead.' ) ;
184+ console . log ( 'Port range are not numbers, using 3000 instead.' ) ;
185185 }
186186 } else {
187- console . log ( `Port range: "${ strPickPort } " is not properly formatted, using 8000 instead.` ) ;
187+ console . log ( `Port range: "${ strPickPort } " is not properly formatted, using 3000 instead.` ) ;
188188 }
189189 }
190190
191191 if ( specificPort !== - 1 ) {
192192 return specificPort ;
193193 }
194194
195- return 8000 ;
195+ return 3000 ;
196196}
197197
198198/**
You can’t perform that action at this time.
0 commit comments