Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

duplication of output file #213

Open
neilhanvey opened this issue Sep 25, 2015 · 0 comments
Open

duplication of output file #213

neilhanvey opened this issue Sep 25, 2015 · 0 comments

Comments

@neilhanvey
Copy link

whenever i run my grunt file it creates a duplicate of my output css file in my source directory. my grunt file is below. the weird thing is that i've got source map turned off for output but this duplicate created in my source folder has a source map. version of sass i'm using is the latest (selective steve)

module.exports = function (grunt) {
// load Grunt plugins from NPM
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-contrib-sass');

// configure plugins
grunt.initConfig({
    watch: {
        styles: {
            files: ['Content/**/*.scss'],
            tasks: ['sass']
        },
        options: {
            livereload: true
        }
    },
    sass: {                              
        dev: {                            
            options: {                    
                style: 'compact',
                sourcemap: 'none'
                },
            files: [{
                expand: true,
                cwd: 'Content/lib/materialize-src/sass',
                src: ['*.scss'],
                dest: 'Content/css',
                ext: '.css'
            }]
        }
    }
});

// define tasks
grunt.registerTask('server', ['watch']);

};

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant