We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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
The text was updated successfully, but these errors were encountered: