for prefect 2.0 is there some sort of feature like a hot reload that will automatically create a new deployment when I change the file in the deployment location?
k
Kevin Kho
03/17/2022, 9:03 PM
Unless someone corrects me, it will work like that for the most part because you specify the location in the deployment and there is no registration for the most part
j
Jared Robbins
03/17/2022, 9:08 PM
I'm definitely not seeing that functionality. I could be doing it wrong I suppose. Right now I am running 'prefect deployment create prefect_deployments.py' and then 'prefect deployment execute location_publish/location_publish_deployment' each time I make a change
The spec gives a relative path to the flow location
k
Kevin Kho
03/17/2022, 9:12 PM
Ah sorry my bad you are right. It will eventually point to the storage location in some form to pull from