voidzero-dev / voidzero-dev/vite-task
dependsOn a persistent task
Open
@wan9chi is already working on this.
Since Aug 3, 2026.
- Dominant language
- Rust
- Stars
- 466
- Forks
- 42
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 19
Description
I want to run @workspace/i18n#dev when I run vp dev apps/web
is it possible to dependsOn a persistent task ?
vite.config.ts
run: {
cache: true,
tasks: {
"web:dev": {
command: "vp dev apps/web", // The build command for your web app
dependsOn: ["@workspace/i18n#dev"], // Depends on the i18n package's build --watch
persistent: true,
},
},
},
packages/i18n/package.json
"scripts": {
"build": "vp build",
"check": "vp check",
"dev": "vp build --watch",
"prepublishOnly": "vp run build",
"test": "vp test"
},
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.