Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using cache for client node-modules #47

Open
shem8 opened this issue Dec 8, 2020 · 1 comment
Open

Using cache for client node-modules #47

shem8 opened this issue Dec 8, 2020 · 1 comment

Comments

@shem8
Copy link

shem8 commented Dec 8, 2020

From what I can see in the build log in the example, the cache isn't used when installing the dependencies when building the client.
Seems like the node buildpack isn't supporting 2 build directories, so maybe it's better to use 2 buildpacks: one for node and one for the React app (maybe we can leverage your buildpack, but without the Nginx part).

@mars
Copy link
Owner

mars commented Mar 26, 2024

Do you have the second directory set as a cache directory? Example.

If it's not actually working, is it because the react-ui build is performed after the caching takes place?

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

No branches or pull requests

2 participants