Skip to content
This repository has been archived by the owner on Oct 21, 2020. It is now read-only.

Newly added project not showing on dev #94

Open
jperasmus opened this issue Jun 27, 2018 · 2 comments
Open

Newly added project not showing on dev #94

jperasmus opened this issue Jun 27, 2018 · 2 comments

Comments

@jperasmus
Copy link
Contributor

Hi all,

Thanks for building this. Big Netlify here.

I'm busy trying to add a new headless CMS that we're building, but I find on my local machine that the project is not showing up after adding the relevant markdown file to content/projects. When I run the production build and serve locally it is showing, but it also shows an outdated version and not my latest changes. Seems like the caching is a bit sticky.

Even after deleting both the dist and tmp directories, it is not showing. Is this something that someone else has experienced as well? Any idea how to fix?

@erquhart
Copy link
Contributor

For some reason React Static (or at least the version used here, which may be outdated) doesn't update things well when changes only happen to content files locally. If you change a JavaScript file, especially while running the local development server, that tends to get things moving.

@gangsthub
Copy link

image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants