-
Notifications
You must be signed in to change notification settings - Fork 0
/
shell.sh
35 lines (35 loc) · 900 Bytes
/
shell.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#initial build
npm run build todo-server -- -uahst
##Start Static server
http-sever demos/client
##Initialize Live Reload https://github.com/napcs/node-livereload
livereload\
--watch demos/client
#Watch Styles
nodemon\
--watch demos/style\
--ext css\
--verbose\
--on-change-only\
--exec "npm run build todo-server -- --no-u --no-a --no-h --no-s"
#Watch Components
nodemon\
--watch demos/component\
--ext js\
--verbose\
--on-change-only\
--exec "npm run build todo-server -- --no-u --no-a --no-s --no-t"
#Watch Assets (specify extension)
nodemon\
--watch demos/assets\
--ext mp3,mp4,gif,jpg,png,txt,html,wav,svg\
--verbose\
--on-change-only\
--exec "npm run build todo-server -- --no-u --no-h --no-s --no-t"
#Watch Scripts
nodemon\
--watch demos/script\
--ext js\
--verbose\
--on-change-only\
--exec "npm run build todo-server -- --no-u --no-a --no-h --no-t"