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

"[Info] ESLint server running in node v18.18.2" keeps showing up in logs #1549

Open
kohlschuetter opened this issue May 8, 2024 · 2 comments

Comments

@kohlschuetter
Copy link

I keep seeing multiple entries of the following message in the Error Log (Eclipse IDE 2024-06 M2)

[Info]	ESLint server running in node v18.18.2

Does this mean that the server gets restarted? Why? I don't see a corresponding error message.
If there was an error, it should be shown.
If there was no error, the message should not appear again in the logs.

(I use the error log to check for new messages coming from a specific Maven plugin, and this repetitive noise is quite annoying)

eclipse.buildId=4.32.0.20240502-0721
java.version=21.0.3
java.vendor=Eclipse Adoptium
BootLoader constants: OS=macosx, ARCH=aarch64, WS=cocoa, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.jee.product -keyring /Users/ck/.eclipse_keyring
Command-line arguments:  -os macosx -ws cocoa -arch aarch64 -product org.eclipse.epp.package.jee.product -keyring /Users/ck/.eclipse_keyring
@mickaelistria
Copy link
Contributor

Does this mean that the server gets restarted?

Probably. The LS are usually shut down when you close a file (if this is the last file open in the project), and restarted when opening a new file from project.
Maybe there is a bug here that makes that the LS restarts more frequently than expected; maybe the LS is now capable of handling multiple projects and could be started only once for all files. But both questions require more analysis.
Can you please provide steps to reproduce what you think is an issue? Are you aware of the eslint-ls now capable of supporting multiple projects?

@kohlschuetter
Copy link
Author

The "ESLint server running in node" message seems to randomly reoccur even within the same Eclipse project, and without closing any files. Sometimes, they were only a few seconds apart.

I'm just opening generated JavaScript files from the target-eclipse/jacline/generated folder of this project (or similar, private ones): https://github.com/kohlschutter/jacline/tree/main/jacline-lib-common

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