eclipse-wildwebdeveloper / wildwebdeveloper

Simple and productive Web Development Tools in the Eclipse IDE
https://projects.eclipse.org/projects/tools.wildwebdeveloper
Eclipse Public License 2.0
189 stars 70 forks source link

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

Open kohlschuetter opened 3 months ago

kohlschuetter commented 3 months ago

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 commented 3 months ago

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 commented 3 months ago

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