Channels
  • h

    HKR

    3 days ago
    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?
  • Rick Lamers

    Rick Lamers

    3 days ago
    Hi HKR! Welcome to the Orchest community. Did you start
    minikube
    using the mount string?
  • h

    HKR

    3 days ago
    Hey, yes I did! I followed the development_workflow tutorial and did all the steps in sections1. Cluster for development 2. Development environment 3. Incremental development (hot reloading)
  • Rick Lamers

    Rick Lamers

    3 days ago
    Did you do a cache-less page reload (devtools open with cache disabled or Ctrl/Command + Shift + R)?
  • h

    HKR

    3 days ago
    Wow... I can't believe I missed that. Thank you!
  • Rick Lamers

    Rick Lamers

    3 days ago
    It's not an autorefreshing "HMR" setup. It does require reloading the page to get the new client side JavaScript.
  • h

    HKR

    3 days ago
    Ahh, I see. Thank you so much!
  • Rick Lamers

    Rick Lamers

    3 days ago
    https://github.com/orchest/orchest/blob/dev/docs/source/development/development_workflow.rst#incremental-development-hot-reloading
    Updated the docs to make this more clear! Thanks for pointing out that this isn't obvious. We'll to better next time 🙌