Skip to content
This repository was archived by the owner on Aug 7, 2025. It is now read-only.

Add note on WSL2 path formatting for hot reloading in Rancher Desktop on Windows #1769

Merged
merged 9 commits into from
Jun 26, 2025

Conversation

Darasimi-Ajewole
Copy link
Contributor

@Darasimi-Ajewole Darasimi-Ajewole commented May 13, 2025

This PR adds a clarification to the Rancher Desktop documentation for Windows users running LocalStack via WSL2.

Specifically, it documents that when using hot reloading for Lambda functions, paths to Lambda handlers must be specified using WSL2-compatible paths /mnt/c/ rather than Windows-style paths C:\

Without this, volume mounting of the lambda code into the lambda container would fail with a unintelligible error.

Changes:

Added a note under the Windows section of the Rancher Desktop guide.

Included a code snippet showing the correct WSL2 path format.

Motivation:

Hot reloading is a key developer feature in LocalStack, and ensuring it works reliably in WSL2-based workflows improves developer experience and reduces setup friction.

Copy link

github-actions bot commented May 13, 2025

⚡️ Deploying PR Preview...

@Darasimi-Ajewole Darasimi-Ajewole changed the title Helpful Docs for Setting up Hot Reloaded Lambdas with Rancher Desktop and WSL2 Add note on WSL2 path formatting for hot reloading in Rancher Desktop on Windows May 13, 2025
@quetzalliwrites
Copy link
Collaborator

@HarshCasper made a point offline, perhaps this belongs in the hot reloading doc instead.

cc @Darasimi-Ajewole

@quetzalliwrites quetzalliwrites self-requested a review June 5, 2025 14:07
@Darasimi-Ajewole
Copy link
Contributor Author

Good shout, I will move it to hot-reloading doc

@Darasimi-Ajewole
Copy link
Contributor Author

Changes made, please take a second look, @quetzalliwrites and @HarshCasper.

@quetzalliwrites quetzalliwrites merged commit 11d7a7c into localstack:main Jun 26, 2025
3 of 4 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants