add done status for building
This commit is contained in:
parent
7a39496fcd
commit
660c1b774d
4
manage
4
manage
@ -194,6 +194,8 @@ function restart_server() {
|
|||||||
if ! npm run build > node.log 2>&1; then
|
if ! npm run build > node.log 2>&1; then
|
||||||
echo -e "${COLOR_RED}Build failed. Please check for errors above.${COLOR_RESET}"
|
echo -e "${COLOR_RED}Build failed. Please check for errors above.${COLOR_RESET}"
|
||||||
exit 1
|
exit 1
|
||||||
|
else
|
||||||
|
echo -e "${COLOR_GREEN}Done!${COLOR_RESET}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f './public/css/base.css' ]; then
|
if [ -f './public/css/base.css' ]; then
|
||||||
@ -251,6 +253,8 @@ function start_server() {
|
|||||||
if ! npm run build > node.log 2>&1; then
|
if ! npm run build > node.log 2>&1; then
|
||||||
echo -e "${COLOR_RED}Build failed. Please check for errors above.${COLOR_RESET}"
|
echo -e "${COLOR_RED}Build failed. Please check for errors above.${COLOR_RESET}"
|
||||||
exit 1
|
exit 1
|
||||||
|
else
|
||||||
|
echo -e "${COLOR_GREEN}Done!${COLOR_RESET}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f './public/css/base.css' ]; then
|
if [ -f './public/css/base.css' ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user