Skip to content
New issue

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

here some errors, what's wrong with this? #202

Closed
xgqfrms-GitHub opened this issue Sep 12, 2016 · 2 comments
Closed

here some errors, what's wrong with this? #202

xgqfrms-GitHub opened this issue Sep 12, 2016 · 2 comments

Comments

@xgqfrms-GitHub
Copy link

xgqfrms-GitHub commented Sep 12, 2016

   gulp.task('connect',function(){
        connect.server({
            root: [outputDir],
            port: 8000,
            livereload: true,
            // open: { browser: 'Google Chrome'}
       });
    });

gulp-connect-error
gulp-connect-open-error
I just confused this ,and can not understand why !

I following the below video tutorial , but some errors occured!
(May be it out of date?)

Get started with gulp Part 6: LiveReload and web server

youtube video

I'm looking forward to hearing from your reply as soon as possible!


thanks for your time, in advance!

@xgqfrms-GitHub
Copy link
Author

holy shit!!

you show me the error code!

It should be like this!

gulp.task('connect',function(){???});

gulp.task('connect',function(){
  connect.server({
  root: [outputDir],
  //port: 8080,
     livereload: true
  //open: { browser: 'Google Chrome'}
  //error ?
  });
 });

@justinmchase
Copy link
Collaborator

Is there still a question on this, or can I close it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants