Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- module.exports = function(grunt) {
- grunt.initConfig({
- sass: {
- options: {
- sourcemap: 'none'
- },
- app: {
- files: {
- 'css/app.css': 'scss/app.scss'
- }
- }
- },
- express: {
- app: {
- options: {
- script: 'app.js'
- }
- },
- },
- watch: {
- options: {
- livereload: 1337
- },
- 'app-sass': {
- files: 'scss/app.scss',
- tasks: ['sass:app', 'cssmin:app']
- }
- }
- });
- grunt.loadNpmTasks('grunt-contrib-sass');
- grunt.loadNpmTasks('grunt-express-server');
- grunt.loadNpmTasks('grunt-contrib-watch');
- grunt.registerTask('default', ['sass', 'express', 'watch']);
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement