forked from henningc/fagfredag-spa-dur
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gruntfile.js
41 lines (38 loc) · 826 Bytes
/
Gruntfile.js
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
// Generated on 2013-10-23 using generator-angular 0.5.1
'use strict';
module.exports = function (grunt) {
require('load-grunt-tasks')(grunt);
grunt.initConfig({
watch: {
livereload: {
options: {
livereload: '<%= connect.livereload.options.livereload %>'
},
files: [
'index.html',
'app/{,*/}*.{html,js,css}',
'lib/{,*/}*.js',
'css/{,*/}*.css',
'images/{,*/}*.{png,jpg,jpeg,gif,webp,svg}'
]
}
},
connect: {
options: {
port: 9001,
hostname: 'localhost'
},
livereload: {
options: {
open: true,
base: '.',
livereload: 35728
}
}
}
});
grunt.registerTask('default', [
'connect:livereload',
'watch'
]);
};