You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to have a stopResourcesBeforeRun event that would execute a task before the actual resource is trigger to run.
Current Behavior
afaik, there is no built-in event that allow us to do something before the resource runs (unless I use a external script do it everything in the script)
Why Do You Want This?
Let's say you have 2 local_resources, one to build a project and another to run. The run depends on build. The build is watching source files changes that triggers the build. After initial tilt startup, everything works fine. But after you do the first code change in your project, the build resource fails to run because all the output/bin files are locked by the running resource. With a stopResourcesBeforeRun event, I could setup to have it to stop/disable the running task before the build resource runs.
Additional context
The scenario above is simple (1 build , 1 run) but I could have 1 build for 5 runs for example, if my solution has several projects.
This is the gist of it, the naming or how it works needs to be defined.
The text was updated successfully, but these errors were encountered:
Describe the Feature You Want
I would like to have a stopResourcesBeforeRun event that would execute a task before the actual resource is trigger to run.
Current Behavior
afaik, there is no built-in event that allow us to do something before the resource runs (unless I use a external script do it everything in the script)
Why Do You Want This?
Let's say you have 2 local_resources, one to build a project and another to run. The run depends on build. The build is watching source files changes that triggers the build. After initial tilt startup, everything works fine. But after you do the first code change in your project, the build resource fails to run because all the output/bin files are locked by the running resource. With a stopResourcesBeforeRun event, I could setup to have it to stop/disable the running task before the build resource runs.
Additional context
The scenario above is simple (1 build , 1 run) but I could have 1 build for 5 runs for example, if my solution has several projects.
This is the gist of it, the naming or how it works needs to be defined.
The text was updated successfully, but these errors were encountered: