Last active
February 15, 2025 16:25
-
-
Save michidk/f4ab28e80450ef20ae9e404ea1a3b54c to your computer and use it in GitHub Desktop.
How to execute command on host Windows using devcontainers powered by WSL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
We need some way to communicate. | |
-> Files. Dont even need a mount, since WSL/Windows has access to all files by default. | |
Windows filesystem notify events don't work in WSL filesystem mounted to windows. | |
-> Need to handle all logic in WSL | |
WSL can execute Windows .exe in Windows context. | |
Solution: | |
```bash | |
yay -S watchexec | |
watchexec --clear --restart --debounce 1000 --watch zig-out/bin/zig-raylib.exe zig-out/bin/zig-raylib.exe | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment