gulpfile - no longer needs to change cwd

it was fixed upstream: https://github.com/tkellen/node-liftoff/issues/16

Just `npm install -g gulp` to update.
master
Sindre Sorhus 2014-06-09 15:02:39 +02:00
parent 9974ab482b
commit f13e23bd16
1 changed files with 7 additions and 10 deletions

View File

@ -1,22 +1,22 @@
/**
*
/**
*
* Web Starter Kit
* Copyright 2014 Google Inc. All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License
*
*
*/
'use strict';
var gulp = require('gulp');
var $ = require('gulp-load-plugins')();
@ -28,9 +28,6 @@ var reload = browserSync.reload;
// public URL for your website
var PUBLIC_URL = 'https://example.com';
// enable use of relative paths even though gulp is run in sub-directories
process.chdir(__dirname);
gulp.task('styles', function () {
return gulp.src('app/styles/sass/styles.scss')
.pipe($.rubySass({style: 'expanded', precision: 10}))