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

BrowserSync Errors Prevent Gulp From Starting #1370

Closed
kjprince opened this issue Mar 5, 2015 · 3 comments
Closed

BrowserSync Errors Prevent Gulp From Starting #1370

kjprince opened this issue Mar 5, 2015 · 3 comments

Comments

@kjprince
Copy link

kjprince commented Mar 5, 2015

Was working on a project yesterday and Gulp + Browsersync were working just fine.

Now I've noticed that BrowserSync fails to clean up after itself, so when trying to resume working on the project this happened:

[13:31:48] Using gulpfile ~/Sites/vagrant-dev/www/quoteengine/web/app/themes/quoteengine/gulpfile.js
[13:31:48] Starting 'watch'...
[13:31:52] Finished 'watch' after 4.34 s

events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: listen EADDRINUSE
    at errnoException (net.js:905:11)
    at Server._listen2 (net.js:1043:14)
    at listen (net.js:1065:10)
    at Server.listen (net.js:1139:5)

I checked to see what was happening on port 3000 $ lsof -i tcp:3000 and found this process: node 20840 kj 35u IPv4 0x74441d14c4e0845b 0t0 TCP *:hbci (LISTEN)

I killed the process and Gulp started right up.
$ kill -9 20840
$ gulp watch

@swalkinshaw
Copy link
Member

So it's fixed? Does the problem happen again?

Either way, this seems like a troubleshooting issue so you can bring it up on https://discourse.roots.io/ if there's still a problem.

@austinpray
Copy link
Contributor

@kjprince
Copy link
Author

kjprince commented Mar 8, 2015

Fixed.

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

3 participants