module.exports = function (grunt) {
  grunt.config.merge({
    connect: {
      server: {
        options: {
          base: {
            path: "build",
            options: {
              index: "index.html"
            }
          },
          livereload: true
        }
      }
    },
    watch: {
      sources: {
        options: {
          livereload: true
        },
        files: ["*.css", "app.js", "lib/**/*.js", "*.html"],
        tasks: ["dev"]
      },
      config: {
        options: {
          reload: true
        },
        files: ["Gruntfile.js", "tasks/*.js"],
        tasks: []
      }
    }
  });

  grunt.loadNpmTasks("grunt-contrib-connect");
  grunt.loadNpmTasks("grunt-contrib-watch");
};

module.exports = function (grunt) {
  grunt.config.merge({
    connect: {
      server: {
        options: {
          base: {
            path: "build",
            options: {
              index: "index.html"
            }
          },
          livereload: true
        }
      }
    },
    watch: {
      sources: {
        options: {
          livereload: true
        },
        files: ["*.css", "app.js", "lib/**/*.js", "*.html", "scss/**/*.scss"],
        tasks: ["dev"]
      },
      config: {
        options: {
          reload: true
        },
        files: ["Gruntfile.js", "tasks/*.js"],
        tasks: []
      }
    }
  });

  grunt.loadNpmTasks("grunt-contrib-connect");
  grunt.loadNpmTasks("grunt-contrib-watch");
};

Add scss to grunt watcher