Open
Description
Description
I'm using wails on windows and my code doenst hot reloads when I do changes in the backend .go files. If I pass a single file to the -reloaddirs it do work, but not for all files of my project. Any way I can archive this?
To Reproduce
- Create a project on windows
- Execute it with wails dev
- Change a .go file
- expect the code to do not a hot reload
Expected behaviour
The code should hot reload after the changes on the backend files
Screenshots
No response
Attempted Fixes
I've tried to use a bash command to list all my dirs, but this is not a very friendly way to do this, and the feature IS HERE, I just need to understand why it's not working
System Details
# Wails
Version | v2.6.0
# System
┌──────────────────────────────────────┐
| OS | Windows 10 Enterprise |
| Version | 2009 (Build: 19045) |
| ID | 22H2 |
| Go Version | go1.20.6 |
| Platform | windows |
| Architecture | amd64 |
└──────────────────────────────────────┘
# Dependencies
┌───────────────────────────────────────────────────────┐
| Dependency | Package Name | Status | Version |
| WebView2 | N/A | Installed | 117.0.2045.43 |
| Nodejs | N/A | Installed | 18.17.1 |
| npm | N/A | Installed | 9.6.7 |
| *upx | N/A | Available | |
| *nsis | N/A | Available | |
└─────────────── * - Optional Dependency ───────────────┘
# Diagnosis
Optional package(s) installation details:
- upx : Available at https://upx.github.io/
- nsis : More info at https://wails.io/docs/guides/windows-installer/
SUCCESS Your system is ready for Wails development!
Additional context
I don't really know if it's my project's problem or a general one, but other people working on the same project also are not able to use hot reloads on .go file changes.
tnks in advance