Skip to content

Commit

Permalink
Update status. Fix dev task.
Browse files Browse the repository at this point in the history
  • Loading branch information
leaanthony committed Jan 19, 2024
1 parent 2436229 commit 3d08f92
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 14 deletions.
3 changes: 3 additions & 0 deletions mkdocs-website/docs/en/roadmap.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
2 changes: 1 addition & 1 deletion mkdocs-website/shared/alpha4-wails3-dev.csv
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
" ",Mac,Windows,Linux
`wails3 dev`," "," "," "
`wails3 dev`," ",:material-minus:," "
15 changes: 2 additions & 13 deletions v3/internal/templates/_common/Taskfile.tmpl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 3d08f92

Please sign in to comment.