-
-
Notifications
You must be signed in to change notification settings - Fork 69
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
eslint_d could not connect #61
Comments
That is odd. I guess the error occurs here: https://github.com/mantoni/eslint_d.js/blob/master/lib/client.js#L13 Maybe you can add an |
@mantoni i created a new file to test var net = require('net');
var socket = net.connect(3000, function () {
console.log('connected');
});
socket.on('error', function () {
console.log('Could not connect');
}); then Thanks |
This solved the problem and now when i do Thanks |
I had this issue, the fix is to remove I think we need to handle the error that if it fails to connect to the server (because it got killed somehow) it should delete the reference to its port so a new one can start. |
@AlexKvazos Sounds like a good idea. Would you care to contribute a pull request with your suggested solution? |
PR #95 Sent 👍 |
A solution is now available in |
Hi,
I installed eslint_d globally
npm i eslint_d -g
and tried to lint a file but when i runeslint_d app.js
nothing happens(more than 2min without anything) while theeslint app.js
cmd display the lint errors.I tried
eslint_d status
and i have this messagecould not connect
.I checked the
~/.eslint_d
and the file has one line53288 59a364a04c2ec7b5
.The
eslint_d --version
give me thisv3.14.1 (eslint_d v4.2.1)
, the help cmd foreslint_d
works also(the same output ofeslint --help
).Is there a log file that i can take a look to understand why eslint_d could not connect ?
Thanks
The text was updated successfully, but these errors were encountered: