-
Couldn't load subscription status.
- Fork 57
Description
Hi all,
Just a quick question.
I installed Gulp-open with the following codes on gulpfiles.js:
gulp.task( 'open', function() {
var options = {
uri: uri,
app: 'chrome' || 'google chrome' // may need to sniff for Windows/OSX to determine Chrome string
};
gulp.src( './build/' )
.pipe( open( options ) );
});
I also have gulp-connect and gulp-yargs with the following:
var src = './build',
dist = './build',
baseURL = ( argv.production === undefined ) ? src : dist,
port = ( argv.production === undefined ) ? 8000 : 8001,
uri = 'http://localhost:' + port;
gulp.task( 'connect', function() {
connect.server( {
root: baseURL,
livereload: true,
port: port
} );
} );
I'm not sure what is happening, on the package.json the dependency is there, but gulp can't find it.
Any ideas what's happening?
Thank you in advance.
Kind regards,
Fernando Fas