laosb / SvelteNova

Svelte language support for Panic's Nova Editor.
https://extensions.panic.com/extensions/sb.lao/sb.lao.svelte-nova/
MIT License
19 stars 3 forks source link

High CPU usage #4

Closed mattpilott closed 3 years ago

mattpilott commented 3 years ago

Since Nova 6.1 it seems sveltenova's node process is eating up cpu, disabling the svelte nova extension resolves the issue

Also this is happening without having any files or terminals open, so when nova is just idle

Screenshot 2021-04-26 at 2 14 08 pm
laosb commented 3 years ago

I've been using Nova 6.1 with this extension to code a SvelteKit app and have no issue on this so far. Maybe related to https://github.com/sveltejs/language-tools/issues/965 ? Anyway we will need to wait for new releases of language-server.

mattpilott commented 3 years ago

Yeah it happens with no files open, which is odd

maxime-pigeon commented 3 years ago

Any update on this issue? I, too, am seeing high CPU usage. It seems that sveltejs/language-tools#965 was somewhat fixed by sveltejs/language-tools#967.

laosb commented 3 years ago

I see. Maybe we can try bumping to latest language server? Will do.

maxime-pigeon commented 3 years ago

@laosb Thank you for looking into it. 🙏 Will keep you posted once it's updated.

laosb commented 3 years ago

Just released 0.1.7 bumping to lang server 0.14.6. I'll leave this open for sometime to see if this is resolved. 😁

maxime-pigeon commented 3 years ago

Can't speak for @matt3224, but it looks like it solved the problem on my end. Thanks!

laosb commented 3 years ago

Great news! Let's leave this open longer to see.

mattpilott commented 3 years ago

I havent noticed any issue since the update 🤞 its fixed