https://www.orchest.io/ logo
Title
h

HKR

06/21/2022, 10:09 AM
Hello! I'm trying to setup Orchest for development. I followed the tutorial and got Orchest running (I just could not do sudo apt-get install -y default-libmysqlclient-dev as I'm on OpenSUSE where this package doesn't exist. But I figured it's just for the unit tests so I'll postbone the problem). So Orchest is running and in the settings it says 'development mode'. To test out the hot reload, I changed the title of the step details property tab. Pnpm recognized the changed and rebuild the frontend:
services/orchest-webserver/client dev: [watch] build started (change: "src/pipeline-view/step-details/StepDetails.tsx")
services/orchest-webserver/client dev: [watch] build finished
But the change is actually not visible on the page. Am I missing a step which I need to do?
👀 1
r

Rick Lamers

06/21/2022, 10:10 AM
Hi HKR! Welcome to the Orchest community. Did you start
minikube
using the mount string?
h

HKR

06/21/2022, 10:11 AM
Hey, yes I did! I followed the development_workflow tutorial and did all the steps in sections 1. Cluster for development 2. Development environment 3. Incremental development (hot reloading)
r

Rick Lamers

06/21/2022, 10:12 AM
Did you do a cache-less page reload (devtools open with cache disabled or Ctrl/Command + Shift + R)?
1
h

HKR

06/21/2022, 10:13 AM
Wow... I can't believe I missed that. Thank you!
💯 1
r

Rick Lamers

06/21/2022, 10:13 AM
It's not an autorefreshing "HMR" setup. It does require reloading the page to get the new client side JavaScript.
🙌 1
h

HKR

06/21/2022, 10:15 AM
Ahh, I see. Thank you so much!
Updated the docs to make this more clear! Thanks for pointing out that this isn't obvious. We'll to better next time 🙌
🚀 1