Skip to content
This repository was archived by the owner on Apr 30, 2018. It is now read-only.

Commit 6176964

Browse files
committed
merged grunt file since I merged pull requests out of order
2 parents 8f39d70 + ca78302 commit 6176964

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

Gruntfile.js

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,19 @@ module.exports = function(grunt) {
55
grunt.initConfig({
66
pkg: grunt.file.readJSON('package.json'),
77
formlyConfig: {
8-
hostname: '*',
8+
hostname: 'localhost', // change to 0.0.0.0 to listen on all connections
99
base: 'src',
10-
port: 4000,
11-
livereloadport: 35701,
10+
port: 4000,
11+
livereloadport: 35701
1212
},
1313
connect: {
1414
dev: {
1515
options: {
1616
hostname: '<%= formlyConfig.hostname %>',
1717
port: '<%= formlyConfig.port %>',
1818
base: '<%= formlyConfig.base %>',
19-
livereload: '<%= formlyConfig.livereloadport %>',
20-
},
19+
livereload: '<%= formlyConfig.livereloadport %>'
20+
}
2121
}
2222
},
2323
'gh-pages': {
@@ -95,12 +95,12 @@ module.exports = function(grunt) {
9595
}
9696
},
9797
watch: {
98-
livereload: {
99-
files: ['<%= formlyConfig.base %>/**/*.{js,html}'],
100-
options: {
101-
livereload: '<%= formlyConfig.livereloadport %>'
102-
},
103-
}
98+
livereload: {
99+
files: ['<%= formlyConfig.base %>/**/*.{js,html}'],
100+
options: {
101+
livereload: '<%= formlyConfig.livereloadport %>'
102+
}
103+
}
104104
}
105105

106106
});
@@ -114,7 +114,7 @@ module.exports = function(grunt) {
114114
grunt.loadNpmTasks('grunt-gh-pages');
115115
grunt.loadNpmTasks('grunt-angular-templates');
116116
grunt.loadNpmTasks('grunt-ngmin');
117-
grunt.loadNpmTasks('grunt-contrib-watch');
117+
grunt.loadNpmTasks('grunt-contrib-watch');
118118

119119
grunt.registerTask('publish', [
120120
'gh-pages'

0 commit comments

Comments
 (0)