Hot reloading doesn't work and client not available.
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 42/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- typescript
Research direction
Reproduce the problem with the listed lightning-dev installation and sf lightning dev component commands on API 66.0, then inspect the client-availability and fallback-mode logs. Done means the local client connects and changes to the generated component hot reload as expected.
Written by the indexing model from the issue text.
Description
Summary
My sandbox got upgraded to API 66.0. Local Dev either can't connect to client, or when it does doesn't hot reload anything.
Steps To Reproduce:
lightning-dev 5.1.4 (prerelease) and can't connect to client:
sf plugins install @salesforce/plugin-lightning-dev@prerelease
sf lightning generate component --name localDevTest --type lwc --output-dir force-app/main/default/lwc
sf lightning dev component --name localDevTest
Expected Result
Work properly and hot reload
Actual Result
Hot reloading doesn't work
Additional Information
Screenshots:
Logs:
be1a616……0000009OXlKAM:23228 ComponentProfiler: Component-level profiling has not been enabled.
(anonymous) @ be1a616……0000009OXlKAM:23228
ad64725……0000009OXlKAM:11749 🔵 PREVIEW MODE: previewApplication in normal mode!
ad64725……0000009OXlKAM:11785 Client not available. Running in fallback mode.
loadComponentData @ ad64725……0000009OXlKAM:11785
System Information
SF CLI:
{
"architecture": "darwin-arm64",
"cliVersion": "@salesforce/cli/2.123.1",
"nodeVersion": "node-v22.22.0"
}
OS:
macOS 26.2 (25C56)
- Dominant language
- TypeScript
- Stars
- 19
- Forks
- 19
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 2
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from salesforcecli/plugin-lightning-dev
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
salesforcecli/plugin-lightning-dev#686 · 1 comment ·
-
BUG P2
Difficulty 3/5 1-2 days Newbie friendliness 45/100
salesforcecli/plugin-lightning-dev#544 · 4 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
salesforcecli/plugin-lightning-dev#456 · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
salesforcecli/plugin-lightning-dev#428 · 2 reactions ·
All issues in salesforcecli/plugin-lightning-dev
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
danielmiessler/LifeOS#2218 ·