epicweb-dev / epicshop

The workshop app for all workshops on EpicWeb.dev

Home Page:https://www.epicweb.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Newly added exercise isn't visible in the UI

kettanaito opened this issue · comments

Current behavior

When creating a new exercise in the workshop, the UI doesn't reflect it. It's missing from the root page's list of exercises, and from the sidebar list of exercises as well. This is related to both individual exercises (steps) and top-level sections. A full refresh of the app (CTRL+C + re-run npm run dev) is required in order for the changes to appear in the UI.

Actual behavior

When creating a new individual exercise, or a section, it immediately appears in any relevant UI elements without having to stop and re-run the app.

May be a bug rather than a feature request. Remix should be watching the glob and react to newly added files.