meshviewer/tasks/development.js

37 lines
720 B
JavaScript
Raw Normal View History

2015-03-29 12:43:02 +00:00
module.exports = function (grunt) {
grunt.config.merge({
connect: {
server: {
options: {
base: {
2016-05-26 16:37:24 +00:00
path: "build",
options: {
2016-05-26 16:37:24 +00:00
index: "index.html"
}
},
2015-03-29 12:43:02 +00:00
livereload: true
}
}
},
watch: {
sources: {
options: {
livereload: true
},
2016-05-26 16:37:24 +00:00
files: ["*.css", "app.js", "lib/**/*.js", "*.html"],
tasks: ["dev"]
2015-03-29 12:43:02 +00:00
},
config: {
options: {
reload: true
},
files: ["Gruntfile.js", "tasks/*.js"],
tasks: []
}
}
});
2015-03-29 12:43:02 +00:00
grunt.loadNpmTasks("grunt-contrib-connect");
grunt.loadNpmTasks("grunt-contrib-watch");
};