-
Notifications
You must be signed in to change notification settings - Fork 0
/
Monfile
53 lines (53 loc) · 921 Bytes
/
Monfile
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{
"tasks": {
"server": {
"cmd": "node server.js"
},
"watchify": {
"cmd": "node auto-build.js",
"mute": false
},
"babelify": {
"cmd": "./node_modules/.bin/browserify jsx/main.jsx -o public/main.js"
},
"stylus": {
"cmd": "./node_modules/.bin/stylus --compress --include node_modules/bootstrap/dist/css --include-css < styles/main.styl > public/main.css"
},
"lr-server": {
"cmd": "./node_modules/.bin/tiny-lr",
"mute": true
},
"livereload": {
"cmd": "curl http://localhost:35729/changed?files=index.html",
"mute": true,
"waitFor": ["stylus"]
}
},
"oneOff": [
"lr-server",
"watchify",
"stylus",
"server"
],
"fileChangeActions": [
{
"files": [
"styles/**/*"
],
"task": "stylus"
},
{
"files": [
"views/**/*",
"public/main.css"
],
"task": "livereload"
},
{
"files": [
"server.js"
],
"task": "server"
}
]
}