Build specific stacks only


I would like to know if there is any way to build specific stacks. For example, if there are dags from multiple repos in 1 deployment and if there is any change to a dag/the etl it invokes, there should be a way where a build is required only for that specific stack of files which has an update and the rest need to be built.