Comments (3)
@abevoelker Yup, adding a warning there is on the list of things to be done. I wouldn't reject a PR for it 😉
from propshaft.
Just delete the public/assets
folder. Or modify your bin/dev
file do add this line before the foreman
command:
rm public/assets/.manifest.json
Edit: Feel free to continue commenting on this topic if you have any more questions. I'm closing this because it's more of a question than a bug.
from propshaft.
I ran into this today as well - I couldn't figure out why my browser was seeing stale assets. Traced it back to my public/assets
directory, then ultimately realized I must've ran assets:precompile
just while playing around with Propshaft. Running rails assets:clobber
is another way to "fix" the problem as the whole public/assets
dir gets deleted.
Perhaps when precompiling assets when Rails.env.development?
a warning message should be displayed that dynamic changes to assets will no longer be rendered until the manifest file is deleted?
from propshaft.
Related Issues (20)
- 404 response on assets in production HOT 1
- Flag Icons not showing HOT 1
- digested source maps HOT 4
- Large numbers of files in my app/assets directory causes development to become very slow HOT 5
- svg inline display issues HOT 3
- Asset digest is computed before compilation HOT 7
- Not able to detect changes in the assets HOT 1
- Raising an error when an asset is not found HOT 4
- config.asset_host as a proc breaks asset paths HOT 1
- quiet_assets initializer breaks when using a custom Rails logger HOT 2
- Using images inside node_modules HOT 3
- Newly added files that are already digested aren't available in development HOT 4
- `assets:clean` task is not cleaning predigested assets with `.digest` in the name HOT 7
- Allow digested files with the same name prefix
- Upgrade doc refers to 'packages.json' HOT 1
- Current version v0.7.0 contains the broken #118 asset_host handling HOT 1
- Revisit Gzip compression support? HOT 15
- SCSS files digested by default HOT 1
- allow a configurable digest length HOT 11
- Using Propshaft::Asset#content with UTF-8 encoding HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from propshaft.