bugfix: only recompile nodes in affected environments when deploying