diff --git a/.gitignore b/.gitignore index 572ac37..919a24a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ /node_modules /.idea /.sass-cache -/_projectfiles \ No newline at end of file +/_projectfiles +npm-debug.log diff --git a/gulp/tasks/styles.js b/gulp/tasks/styles.js index 8e243d6..24849ff 100644 --- a/gulp/tasks/styles.js +++ b/gulp/tasks/styles.js @@ -15,7 +15,7 @@ var autoprefixerCompatibility = gulp.task('styles', function() { return gulp.src('src/sass/styles.scss') - .pipe(sass({ style: 'expanded', "sourcemap=none": true })) + .pipe(sass({ style: 'expanded', sourcemap: false })) .pipe(autoprefixer({browsers: autoprefixerCompatibility, cascade: false})) .pipe(gulp.dest('public/stylesheets')) .pipe(rename({suffix: '.min'})) diff --git a/gulp/tasks/webserver.js b/gulp/tasks/webserver.js index 1bf06e1..c85dc6c 100644 --- a/gulp/tasks/webserver.js +++ b/gulp/tasks/webserver.js @@ -3,7 +3,8 @@ var connect = require('gulp-connect'); var webserverOptions = { livereload : true, - root : [__dirname+"/../../"] + root : [__dirname+"/../../public/"], + fallback: __dirname+"/../../index.html" }; gulp.task('webserver', function() { diff --git a/index.html b/index.html index 0161608..28807d2 100644 --- a/index.html +++ b/index.html @@ -4,9 +4,9 @@