I am currently using a Mac computer and I cannot figure out how to refresh my website when I make changes to my WordPress stylesheet file. I have tried Cmd+R for hard reloading, I have tried emptying the caches, but nothing seems to work – the old version is still loaded nonetheless.
I have used a windows computer before and every time I made a style change with my style.css sheet, I would just press ctrl + F5 and it would hard refresh right away.
Does anyone know any tricks other than Cmd+R or clearing the caches to automatically refresh the stylesheet?
wp_enqueue_style
then every time you change something, change the version number and this will force the reload because URL ends with "...css?ver=12" developer.wordpress.org/reference/functions/wp_enqueue_style