trim21
trim21
TTask
Created by trim21 on 6/17/2024 in #help
how task kill process?
I have a process handle SIGHUP SIGINT SIGKILL SIGTERM and SIGQUIT but they are not trigger, how task kill process in watch mode? it looks like it use differnt strategy to stop process when exit watch mode and in watch mode?
2 replies
TTask
Created by trim21 on 5/28/2024 in #help
encounter a issue that task caching not working anymore.
I have a simple task running just echo 1 with sources and generates. and it's hash in .task/checksum/ doesn't change. But it never consider up to date and command always run. I have same version task on debian and it's ok, but not working as expected on windows Is this maybe a bug?
16 replies
TTask
Created by trim21 on 5/17/2024 in #help
is it possible to set vars in cmds?
I need a run a command before vars are defined, it this possible? for example:
pkg-manager bump patch
VERSION=$(pkg-manager get current version)
git commit -m "bump: {{.VERSION}}"
git tag "v{{.VERSION}}" -m "v{{.VERSION}}"
pkg-manager bump patch
VERSION=$(pkg-manager get current version)
git commit -m "bump: {{.VERSION}}"
git tag "v{{.VERSION}}" -m "v{{.VERSION}}"
3 replies
TTask
Created by trim21 on 4/25/2024 in #help
how to apply `ignore` in source filter?
I have a python project using task, and I try to use --watch to restart my application. I'm using sources: ['**/*.py'] and this would include .venv dir, which is third part library lives. Is there a way to exclude this from source?
4 replies