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

Commit 186d896

Browse files
Update index.md
1 parent 6371fe3 commit 186d896

File tree

1 file changed

+11
-0
lines changed
  • content/en/user-guide/lambda-tools/hot-reloading

1 file changed

+11
-0
lines changed

content/en/user-guide/lambda-tools/hot-reloading/index.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,17 @@ Therefore, filesystem changes persist between code changes for invocations dispa
4040
If using Docker Desktop on macOS, you might need to allow [file sharing](https://docs.docker.com/desktop/settings/mac/#file-sharing) for your target folders.
4141
MacOS may prompt you to grant Docker access to your target folders.
4242

43+
**WSL2-compatible paths required with Rancher Desktop on Windows:**
44+
Make sure your Lambda handler paths are specified using **WSL2-compatible paths**. For example, instead of using a Windows-style path like:
45+
```bash
46+
C:\Users\myuser\projects\lambda\handler.py
47+
```
48+
Use the corresponding WSL-style path:
49+
```bash
50+
/mnt/c/Users/myuser/projects/lambda/handler.py
51+
```
52+
This ensures that LocalStack can properly mount and watch your Lambda code inside the container when running under WSL2.
53+
4354
**Layer limit with hot reloading for layers:**
4455
When hot reloading is active for a Lambda layer (Pro), the function can use at most one layer.
4556

0 commit comments

Comments
 (0)