-
Hey! I've got a project with incremental static regeneration. If I locally boot-up next using If I deploy the very same application on Heroku and hit the URL Why is that?
Thanks in advance, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @u840903 👋 The reason you're not seeing the files when you log into your environment using the Heroku CLI (my guess is using As a result, the files generated by your Hopefully that clarifies things! |
Beta Was this translation helpful? Give feedback.
Hi @u840903 👋
The reason you're not seeing the files when you log into your environment using the Heroku CLI (my guess is using
heroku run bash
or something similar) is because all processes in a Heroku application run in their own Dyno, and each Dyno is a sandboxed container.As a result, the files generated by your
web
process's Dyno are likely created just as you expect them to be, but you can't see them because when you runheroku run bash
you actually spin up a totally separate Dyno that hasn't generated those files.Hopefully that clarifies things!