hachyderm.io is one of the many independent Mastodon servers you can use to participate in the fediverse.
Hachyderm is a safe space, LGBTQIA+ and BLM, primarily comprised of tech industry professionals world wide. Note that many non-user account types have restrictions - please see our About page.

Administered by:

Server stats:

8.9K
active users

Joe Lanman

question - I'm working on a Node package, and I need to test it deployed on Heroku as a dependency of another project. I'm using npm's GitHub link to test a branch of the package.

The problem is Heroku caches the npm build, so new changes don't show up. I found the manual cache purge command, but I have to run it manually every deploy. Is there a better way?

actually even the manual purge does not work

ok using the commit hash works, not the branch name. But will have to update it every time :/

@joelanman commit hash is my preferred way for completed things as it's immutable. Can see it being a massive pain for dev though.