gulp-devtools icon indicating copy to clipboard operation
gulp-devtools copied to clipboard

Socket.io: Port already use

Open co2-git opened this issue 11 years ago • 5 comments

Hey there!

Awesome extension! I like how I can run tasks in the background. A question: how can you have it work for more than one project? When I type gulp-devtools for project A it works fine. When I do it in project B with A still open, I get the following:

info  - socket.io started
warn  - error raised: Error: listen EADDRINUSE

Is it because I cannot have more than 1 project running at the same time?

Cheers

co2-git avatar Feb 01 '15 13:02 co2-git

@co2-git I am afraid we don't have an option for doing that.

Thanks, Nikhil

niki4810 avatar Feb 02 '15 20:02 niki4810

Thanks Nikhil. What about using rooms with socket.IO? http://socket.io/docs/rooms-and-namespaces/ Could that be an option?

On Mon, Feb 2, 2015 at 9:55 PM, Nikhilesh Katakam [email protected] wrote:

@co2-git https://github.com/co2-git I am afraid we don't have an option for doing that. Don't have a quick solution for this, but if I can come up with something I will keep you posted here.

Thanks, Nikhil

— Reply to this email directly or view it on GitHub https://github.com/niki4810/gulp-devtools/issues/11#issuecomment-72535883 .

co2-git avatar Feb 02 '15 21:02 co2-git

@co2-git It looks like something that could be investigated, I am no expert in socket.io so I would be a trial an error process for me as well :), Plus this plugin currently uses an older version of socket.io which needs and upgrade too. So if you want to give a shot, i'd say go for it.

I will look into this as well. Thanks for sharing the info and the feedback.

Nikhil

niki4810 avatar Feb 03 '15 01:02 niki4810

Hey Nikhilesh

Sure thing, I will fork your repo then! Thanks for the reply

On Tue, Feb 3, 2015 at 2:46 AM, Nikhilesh Katakam [email protected] wrote:

@co2-git https://github.com/co2-git I looks like something that could be investigated, I am no expert in socket.io so I would be a trial an error process for me as well :), Plus this plugin currently uses an older version os socket.io which needs and upgrade too. So if you want to give a shot, i'd say go for it.

I will look into this as well. Thanks for sharing the info and the feedback.

Nikhil

— Reply to this email directly or view it on GitHub https://github.com/niki4810/gulp-devtools/issues/11#issuecomment-72576861 .

co2-git avatar Feb 03 '15 08:02 co2-git

:+1:

niki4810 avatar Feb 04 '15 18:02 niki4810