Skip to content

Instantly share code, notes, and snippets.

@najeira
Last active May 1, 2026 00:24
Show Gist options
  • Select an option

  • Save najeira/e29b350b2fb76bb7a4e943d76cca69f2 to your computer and use it in GitHub Desktop.

Select an option

Save najeira/e29b350b2fb76bb7a4e943d76cca69f2 to your computer and use it in GitHub Desktop.
Zed tasks for Flutter developers
[
{
"label": "Flutter: Run",
"command": "flutter",
"args": [
"run",
"--device-id=YOUR-DEVICE-ID",
"--pid-file=.zed/flutter.pid"
],
"cwd": "$ZED_WORKTREE_ROOT",
"use_new_terminal": true,
"allow_concurrent_runs": false,
"reveal": "always"
},
{
"label": "Flutter: Hot Reload",
"command": "kill",
"args": ["-s", "USR1", "$(cat .zed/flutter.pid)"],
"cwd": "$ZED_WORKTREE_ROOT",
"use_new_terminal": false,
"allow_concurrent_runs": false,
"reveal": "never",
"hide": "on_success"
},
{
"label": "Flutter: Hot Restart",
"command": "kill",
"args": ["-s", "USR2", "$(cat .zed/flutter.pid)"],
"cwd": "$ZED_WORKTREE_ROOT",
"use_new_terminal": false,
"allow_concurrent_runs": false,
"reveal": "never",
"hide": "on_success"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment