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

Optimize asset compilation workflow #1317

Open
jasonwang7517 opened this issue Jan 6, 2025 · 4 comments
Open

Optimize asset compilation workflow #1317

jasonwang7517 opened this issue Jan 6, 2025 · 4 comments
Assignees

Comments

@jasonwang7517
Copy link
Contributor

Currently, changes to assets (images, Stimulus controllers, etc.) do not take effect in the app unless one runs:

  1. bin/rails assets:clobber
  2. bin/rails assets:precompile

This is time-consuming and also requires a full restart of the server. To save time, it would be nice if we could automatically update these assets in development without manual actions.

@jasonwang7517
Copy link
Contributor Author

@kasugaijin can you assign me to this when you get a chance? I don't think I have the right GitHub permissions but I'll start work on it.

@jasonwang7517
Copy link
Contributor Author

Just a general note, might be a little while before I can work on this. Currently spending most of my time preparing for some upcoming interviews but will get back to it as soon as I can!

@kasugaijin
Copy link
Collaborator

@jasonwang7517 no problem! Good luck

@jasonwang7517
Copy link
Contributor Author

I'm going to put this on ice for now. I can't seem to figure out what's going on as, based on my understanding, the whole purpose of Propshaft is to streamline asset delivery without having to manually precompile them.

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