You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While running a dev sever with sf lightning dev app, the server starts and the page loads in my browser, but edits to local LWC html files are not reflected in the running page, UNLESS the org has Lightning Web Security enabled. This may simply be a documentation issue, as I could not find this requirement documented.
Steps To Reproduce:
Turn off LWS in your target org.
Run the dev server.
Make edits to an LWC
Expected Result
Changes are immediately visible.
Actual Result
Changes are never observed in the running page.
Additional Information
I originally reported this on the CLI repo as forcedotcom/cli#3076. @mmablom responded with the idea to check LWS, which did fix my issue.
Summary
While running a dev sever with
sf lightning dev app
, the server starts and the page loads in my browser, but edits to local LWC html files are not reflected in the running page, UNLESS the org has Lightning Web Security enabled. This may simply be a documentation issue, as I could not find this requirement documented.Steps To Reproduce:
Expected Result
Changes are immediately visible.
Actual Result
Changes are never observed in the running page.
Additional Information
I originally reported this on the CLI repo as forcedotcom/cli#3076. @mmablom responded with the idea to check LWS, which did fix my issue.
SF CLI:
using zsh on Mac OS 14.6.1
The text was updated successfully, but these errors were encountered: