File tree 1 file changed +16
-2
lines changed
1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -143,7 +143,14 @@ PORT=3001 \
143
143
REACT_APP_SHELL_ENV_MESSAGE=fromtheshell \
144
144
NODE_PATH=src \
145
145
nohup npm start & > $tmp_server_log &
146
- grep -q ' The app is running at:' <( tail -f $tmp_server_log )
146
+ while true
147
+ do
148
+ if grep -q ' The app is running at:' $tmp_server_log ; then
149
+ break
150
+ else
151
+ sleep 1
152
+ fi
153
+ done
147
154
E2E_URL=" http://localhost:3001" \
148
155
REACT_APP_SHELL_ENV_MESSAGE=fromtheshell \
149
156
CI=true NODE_PATH=src \
@@ -197,7 +204,14 @@ PORT=3002 \
197
204
REACT_APP_SHELL_ENV_MESSAGE=fromtheshell \
198
205
NODE_PATH=src \
199
206
nohup npm start & > $tmp_server_log &
200
- grep -q ' The app is running at:' <( tail -f $tmp_server_log )
207
+ while true
208
+ do
209
+ if grep -q ' The app is running at:' $tmp_server_log ; then
210
+ break
211
+ else
212
+ sleep 1
213
+ fi
214
+ done
201
215
E2E_URL=" http://localhost:3002" \
202
216
REACT_APP_SHELL_ENV_MESSAGE=fromtheshell \
203
217
CI=true NODE_PATH=src \
You can’t perform that action at this time.
0 commit comments