Last active
August 29, 2015 13:58
-
-
Save fernandofleury/10300602 to your computer and use it in GitHub Desktop.
Error while preparing the gulpfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(){ | |
'use strict'; | |
var gulp = require('gulp'), | |
browserSync = require('browser-sync'), | |
sass = require('gulp-ruby-sass'); | |
gulp.task('browser-sync', function(){ | |
browserSync.init(['*.html'], { | |
server: { | |
baseDir: './' | |
} | |
}); | |
}); | |
})(); | |
// Browser-sync task error: | |
C:\Users\Fernando\Projects\renovaintra.template>gulp browser-sync | |
[gulp] Using gulpfile C:\Users\Fernando\Projects\renovaintra.template\gulpfile.js | |
[gulp] Starting 'browser-sync'... | |
[gulp] Finished 'browser-sync' after 2.85 ms | |
[BS] Server running. Use this URL: http://192.168.1.102:3002 | |
[BS] Serving files from: C:\Users\Fernando\Projects\renovaintra.template | |
[BS] Watching files... | |
events.js:72 | |
throw er; // Unhandled 'error' event | |
^ | |
Error: This socket is closed. | |
at Socket._write (net.js:637:19) | |
at doWrite (_stream_writable.js:226:10) | |
at writeOrBuffer (_stream_writable.js:216:5) | |
at Socket.Writable.write (_stream_writable.js:183:11) | |
at Socket.write (net.js:615:40) | |
at Socket.Writable.end (_stream_writable.js:341:10) | |
at Socket.end (net.js:396:31) | |
at Static.gzip (C:\Users\Fernando\Projects\renovaintra.template\node_modules\browser-sync\node_modules\socket.io\lib\static.js:207:14) | |
at ready (C:\Users\Fernando\Projects\renovaintra.template\node_modules\browser-sync\node_modules\socket.io\lib\static.js:370:14) | |
at C:\Users\Fernando\Projects\renovaintra.template\node_modules\browser-sync\node_modules\socket.io\lib\static.js:103:9 | |
C:\Users\Fernando\Projects\renovaintra.template> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment