mirror of
https://github.com/wavetermdev/wails.git
synced 2026-08-05 13:53:43 -07:00
Update status. Fix dev task.
This commit is contained in:
@@ -68,6 +68,9 @@ Basically, try to break it and let us know if you find any issues! :smile:
|
||||
|
||||
{{ read_csv("alpha4-wails3-dev.csv") }}
|
||||
|
||||
- Windows does work, with the following caveats
|
||||
- Sometimes the main app is built twice on change
|
||||
- Closing the main window does not terminate the dev process, requiring ctrl-c to terminate
|
||||
|
||||
`wails3 package` command:
|
||||
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
" ",Mac,Windows,Linux
|
||||
`wails3 dev`," "," "," "
|
||||
`wails3 dev`," ",:material-minus:," "
|
||||
|
@@ -431,26 +431,15 @@ tasks:
|
||||
|
||||
dev:
|
||||
summary: Runs the application in development mode
|
||||
preconditions:
|
||||
- sh: wails3 tool checkport -u {{ "{{.FRONTEND_DEVSERVER_URL}}" }}
|
||||
msg: 'Cannot connect to frontend dev server ({{ "{{.FRONTEND_DEVSERVER_URL}}" }}). Please ensure you have run `wails3 dev:frontend` in another terminal.'
|
||||
cmds:
|
||||
- wails3 tool watcher -path {{ "{{.PATH}}" }} -preexec {{ "\"{{.PREEXEC}}\""}} {{ "{{.PREWAIT}}" }} -postexec {{ "\"{{.POSTEXEC}}\"" }} -ignorefiles {{ "{{.IGNOREFILES}}" }} -ignoredirs {{ "{{.IGNOREDIRS}}" }} -ignoreextensions {{ "{{.IGNOREEXTENSIONS}}" }} -exec {{ "\"{{.EXEC}}\"" }} -debounce {{ "{{.DEBOUNCE}}" }}
|
||||
- wails3 tool watcher -config ./build/devmode.config.toml
|
||||
vars:
|
||||
PATH: '.'
|
||||
PREEXEC: 'wails3 task build'
|
||||
PREWAIT: '-prewait true'
|
||||
EXEC: 'wails3 task run'
|
||||
POSTEXEC: ''
|
||||
IGNOREFILES: 'Taskfile.yml'
|
||||
IGNOREDIRS: '.git,frontend,.idea,.vscode,bin'
|
||||
IGNOREEXTENSIONS: '.exe,.syso'
|
||||
DEBOUNCE: 1000
|
||||
FRONTEND_DEVSERVER_URL: 'http://localhost:5173'
|
||||
env:
|
||||
# This is the default vite dev server port
|
||||
FRONTEND_DEVSERVER_URL: 'http://localhost:5173'
|
||||
|
||||
|
||||
dev:reload:
|
||||
summary: Reloads the application
|
||||
cmds:
|
||||
|
||||
Reference in New Issue
Block a user