diff --git a/scripts/mac-linux/install b/scripts/mac-linux/install index dd57fe3..38e3642 100755 --- a/scripts/mac-linux/install +++ b/scripts/mac-linux/install @@ -1,5 +1,6 @@ #!/usr/bin/env bash -cd $( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) +cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" cd ../.. + npm install \ No newline at end of file diff --git a/scripts/mac-linux/start b/scripts/mac-linux/start index c99b1e8..b85d758 100755 --- a/scripts/mac-linux/start +++ b/scripts/mac-linux/start @@ -1,5 +1,14 @@ #!/usr/bin/env bash -cd $( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) +C1='\033[1;37m' +C2='\033[1;33m' +NC='\033[0m' + +cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" cd ../.. -npm start \ No newline at end of file + +while true; do + npm start + printf "\n\n\n${C1}press ${C2}Control+C${C1} to close${NC}\n\n\n" + sleep 5 +done \ No newline at end of file