forcedotcom / lwc-dev-server-feedback

LWC Local Development
BSD 3-Clause "New" or "Revised" License
45 stars 10 forks source link

Severe Performance Issue while using LWC Local Server #55

Closed suresh83kumar closed 4 years ago

suresh83kumar commented 4 years ago

Summary

Facing huge performance issue while using LWC local development server. Getting error like, Error: The local development server exited unexpectedly with code 134.

Steps To Reproduce:

  1. Make changes to your code and click Save.
  2. Take > 90 secs to reload the page and sometime throwing error like, Error: The local development server exited unexpectedly with code 134.

Expected result

Expected to work instantly where i see changes appear in localhost page.

Actual result

Getting this error in command line output: Error: The local development server exited unexpectedly with code 134.

Additional information

Feel free to attach a screenshot.

VS Code Version:1.41.0

SFDX CLI Version: sfdx-cli/7.44.0-e77f9c8515 win32-x64 node-v10.15.3

OS and version: Windows_NT x 64 10.0.17763

git2gus[bot] commented 4 years ago

This issue has been linked to a new work item: W-7249748

suresh83kumar commented 4 years ago

Sorry I don’t have access to GUS orgs. Is this issue getting fixed?

KrisGraySFDC commented 4 years ago

Hi @suresh83kumar, we're not at the moment but when we do tackle this we'll need some information on what you're source is like.

We have a lot of tests that verify this exact workflow and none of them are hitting this issue, so whats special about your setup? Is your code doing something fancy? Can you remove more and more code from the file thats causing this issue till its the one or two lines that are causing it?

mysticflute commented 4 years ago

@suresh83kumar are you still seeing this issue? If so can you please share additional information such as any other output from the console before it exits?

As for the 90 seconds, does this refer to the time it takes for the browser to refresh automatically or the time it takes to see your changes with a manual refresh?

mysticflute commented 4 years ago

@suresh83kumar please share if you are still seeing this issue?

suresh83kumar commented 4 years ago

Hi Nathan,

Let me retry and keep you updated.

Regards, Suresh

On Tue, May 5, 2020 at 8:00 PM Nathan McWilliams notifications@github.com wrote:

@suresh83kumar https://github.com/suresh83kumar please share if you are still seeing this issue?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/forcedotcom/lwc-dev-server-feedback/issues/55#issuecomment-624367324, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADBIJPTQLQ345YNXGSQNUR3RQCSATANCNFSM4KSW5WNQ .

suresh83kumar commented 4 years ago

@mysticflute - It is working fine now. I don't see performance issue.