https://dagster.io/ logo
d

deadvoid

10/30/2020, 11:26 PM
hi guys, i'm a total noob here, managed to run dagit within docker that has volume
./app:/opt/dagster/app
which contains the pipeline
hello_cereal.py
&
workspace.yaml
. I made a syntax mistake in
PurePath.join()
instead of
PurePath.joinpath()
inside
hello_cereal
, but when I fixed it, dagit UI doesn't seem to hot reload the newest script even after page reload.Do I have to create a new pipeline?
a

Andy H

10/30/2020, 11:28 PM
I'd just restart the dagit service in your container
If that doesn't work, you may have a problem with your container volume
d

deadvoid

10/30/2020, 11:29 PM
Oh, hmm let me try that
that seems to work, i got a different error now but the change is there now. A quick question, how do I log the resulting path so it's recorded in dagit UI runs?
m

matas

10/31/2020, 8:03 AM
There is a refresh button in dagit, it should also work for you. But we are running dagit under pm2 daemon that watches filesystem changes and restarts process when the new code arrives
d

deadvoid

10/31/2020, 8:11 AM
does configuring as pm2 daemon covered in the doc
m

matas

10/31/2020, 8:56 AM
No, but you can look for example here: https://github.com/bestplace/cube/blob/master/build/master.Dockerfile and here https://github.com/bestplace/cube/blob/master/build/master.process.yml Our boilerplate repo is quite outdated but this part should definitely work
d

deadvoid

10/31/2020, 9:19 AM
Thanks!