Replies: 1 comment 2 replies
-
|
Hi @funte! I'm Dosu and I’m helping the wails team. In Wails v2, user code does not run during the "Generating bindings" phase. This phase is handled internally by Wails as part of the build process, where it analyzes your Go code and generates the necessary frontend bindings, but it does not execute your application logic. There is no environment variable, flag, or hook set by Wails to indicate this phase from within your code—it's entirely separate from your application's runtime. If you need to perform custom actions during this phase, you'll need to handle them outside of Wails, for example, by using external scripts in your build pipeline. For more details, you can review the relevant implementation in the Wails source code (generate.go, dev.go). To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
How identify my code is running in the "Generating bindings" phase after "wails dev" command
Beta Was this translation helpful? Give feedback.
All reactions