meshviewer/Gruntfile.js
Xaver Maierhofer 575e784a5f [TASK] Replace grunt-connect with browser-sync
- Better for device testing
- Inject Scss
- Split watcher for faster reload
- Watch index.html
2016-05-29 16:39:01 +02:00

11 lines
387 B
JavaScript

module.exports = function (grunt) {
"use strict";
grunt.loadTasks("tasks");
grunt.registerTask("default", ["bower-install-simple", "lint", "copy", "sass", "postcss", "requirejs:default", "inline"]);
grunt.registerTask("lint", ["sasslint", "eslint"]);
grunt.registerTask("serve", ["bower-install-simple", "lint", "copy", "sass", "requirejs:dev", "browserSync", "watch"]);
};