EvHaus / brackets-jscs

(Deprecated) Brackets extension for JSCS
MIT License
39 stars 5 forks source link

Using multiple brackets windows broke the extension #40

Open floross opened 8 years ago

floross commented 8 years ago

Hi, first thanks for this extension.

I got a problem when I'm running more than one window of Brackets. The extension display an error message:

Unexpected JSCS processing error: Max connection attempts reached

Is there a solution to be able to use JSCS parser with multiple window ?

Tell me if you need more information to find out what is going on.

EvHaus commented 8 years ago

Hmm, that message sounds like it's coming from inside the Brackets extension SDK. Does it stop working in all windows, or only in the latest opened window?

floross commented 8 years ago

The extension still working on the very first window open. On every other new windows, the extension doesn't works.

EvHaus commented 8 years ago

I could use your help tracking this down. I'm not entirely sure what's causing the issue. Brackets is simply rejecting the requests on the other windows. It might be a Bracket core bug.

floross commented 8 years ago

Tell me what can I do for you. I'll try to help you.

EvHaus commented 8 years ago

The error is coming from nodeDomain.exec() where nodeDomain is an instance of the Brackets NodeDomain (http://brackets.io/docs/current/modules/utils/NodeDomain.html) object.

It, sometimes, returns this Max connection attempts reached but I can't find any documentation as to why, or how to fix it.