Skip to content

Commit 9373141

Browse files
committed
Grunt: use different ports than p5.js-website for watch and connect
1 parent 4de4e6e commit 9373141

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Gruntfile.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@ module.exports = function(grunt) {
1515
main: {
1616
files: ['src/**/*.js'],
1717
tasks: ['requirejs'],
18-
options: { livereload: true }
18+
options: {
19+
livereload: {
20+
port: 35728
21+
}
22+
},
1923
}
2024
},
2125
requirejs: {
@@ -144,6 +148,7 @@ module.exports = function(grunt) {
144148
server: {
145149
options: {
146150
port: 8000,
151+
livereload: 35727,
147152
hostname: '*'
148153
}
149154
}

0 commit comments

Comments
 (0)