Skip to content
Discussion options

You must be logged in to vote

UPDATE: Since Vite Ruby 3.1, it's now easier to configure capistrano-rails.

See the documentation.


Seems like a capistrano configuration problem.

The build will only be skipped if a temporary file from a previous build is found, and no files have changed since the last successful build.

Normally, if that file persists, then the public dir along with the Vite output dir would also persist.

Make sure that the public dir is not being cleared upon deployment to avoid rebuilding unnecessarily, or force a build on every deployment (less efficient).

Replies: 1 comment 10 replies

Comment options

You must be logged in to vote
10 replies
@ElMassimo
Comment options

@antoinematyja
Comment options

@ElMassimo
Comment options

@ElMassimo
Comment options

@ElMassimo
Comment options

Answer selected by ElMassimo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #185 on January 27, 2022 04:42.