/[sudobot]/branches/3.x/start.sh
ViewVC logotype

Annotation of /branches/3.x/start.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 577 - (hide annotations)
Mon Jul 29 18:52:37 2024 UTC (8 months ago) by rakinar2
File MIME type: application/x-sh
File size: 160 byte(s)
chore: add old version archive branches (2.x to 9.x-dev)
1 rakinar2 577 #!/bin/bash
2    
3     cmd="npm start"
4    
5     for a in $@; do
6     if [[ $a == '--dev' ]]; then
7     cmd="npm run dev"
8     fi
9     done
10    
11     while true; do
12     command $cmd
13     sleep 2;
14     done

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26