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
Copy file name to clipboardExpand all lines: content/en/user-guide/lambda-tools/hot-reloading/index.md
+15Lines changed: 15 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,21 @@ Therefore, filesystem changes persist between code changes for invocations dispa
40
40
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.
41
41
MacOS may prompt you to grant Docker access to your target folders.
42
42
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 such as:
45
+
46
+
```bash
47
+
C:\Users\myuser\projects\lambda\handler.py
48
+
```
49
+
50
+
Use the corresponding WSL-style path:
51
+
52
+
```bash
53
+
/mnt/c/Users/myuser/projects/lambda/handler.py
54
+
```
55
+
56
+
This ensures that LocalStack can properly mount and watch your Lambda code inside the container when running under WSL2.
57
+
43
58
**Layer limit with hot reloading for layers:**
44
59
When hot reloading is active for a Lambda layer (Pro), the function can use at most one layer.
0 commit comments