You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds a check and error for APP_SERVICE being accurate. (#258)
* Adds a check and error for APP_SERVICE being accurate.
* Update sail
* Update sail
Co-authored-by: Dries Vints <dries@vints.io>
Co-authored-by: Taylor Otwell <taylor@laravel.com>
Copy file name to clipboardexpand all lines: bin/sail
+6
Original file line number
Diff line number
Diff line change
@@ -70,6 +70,12 @@ if [ -z "$SAIL_SKIP_CHECKS" ]; then
70
70
else
71
71
EXEC="no"
72
72
fi
73
+
74
+
if [[ $(docker-compose ps --services)!=*"$APP_SERVICE"* ]];then
75
+
echo -e "${WHITE}The \"$APP_SERVICE\" service is not running. Ensure the \$APP_SERVICE environment variable exists and corresponds to a named, running service in your docker-compose.yml file.${NC}">&2
0 commit comments