wailsapp / wails

Create beautiful applications using Go
https://wails.io
MIT License
25.48k stars 1.23k forks source link

Ability to reload/restart/etc the application from the console while running "wails dev" #3800

Open vvalio opened 1 month ago

vvalio commented 1 month ago

Is your feature request related to a problem? Please describe.

It would ease the development process and make it more comfortable if vite-style commands were supported within the console when running wails dev.

I believe in most react-vite applications, we can do 'r' to reload, 'q' to quit, etc to control the actions of the development server. This would be extremely handy in Wails. I believe Wails even uses Vite internally, so this could certainly be implemented?

Describe the solution you'd like

Certain keystrokes in the wails dev -console should execute certain actions, including but not limited to

Other possible features could perhaps be

Describe alternatives you've considered

Additional context

No response

nickolasgregory commented 1 month ago

I've found "Air - Live reload for Go apps" very effective when developing the go backend.
It simply does what it says - no keystroke required.

Aside: I primarily develop the frontend in Svelte, which uses vite, and wails does the Live reload seamlessly.