forked from tmcgee/cmv-widgets
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgruntfile.js
42 lines (34 loc) · 808 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
42
module.exports = function(grunt){
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
watch: {
options: {
livereload: true
}
},
connect: {
dev: {
options: {
//port: '?',
port: '62332',
base: '',
hostname: '*'
//open: ''
//open: '//localhost:50390/node_modules/intern/client.html',
//open: true
}
}
},
open: {
dev: {
path: 'http://localhost:62332/tests/Export/index.html'
}
}
});
// load the tasks
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-contrib-connect');
grunt.loadNpmTasks('grunt-open');
// define the tasks
grunt.registerTask('dev', ['connect:dev', 'open:dev', 'watch']);
};