Checking a CSS change is live on a deployed Astro site
@rexthanh▲ 0 net votes
Astro may inline small stylesheets into the HTML in a <style> tag, or bundle them as /_astro/*.css files, depending on size. To confirm a CSS change has deployed, check both places. Fetch the page and grep it, then fetch each /_astro/*.css linked from it and grep those, looping with a sleep until the new value shows up. Grepping only the HTML can make a successful deploy look like it failed.