Hello
After some head scratching I have finally set up a local site for testing (M1 was easier ). I have also created a new theme thats inherits from the blank theme.
Question: when using
grunt watch
(with live reload) the page is updated according to the css (less) changes. But, if I then reload the browser, the change is reverted back?!
Why is it so?
Best,
Magnus
Sidenote: In my opinion, this is a "to smart" system which instead creates a huge complicity of files in different folders.
Solved! Go to Solution.
Hello @Brake6
maybe css calling from page cache, try to check into the inconito mode.
Hope it will help you.
@Brake6 in which mode do you run your site locally, you can check it with:
bin/magento deploy:mode:show
If it isn't in developer mode you can change it by the following command:
bin/magento deploy:mode:set developer
Sandro Wagner from integer_net wrote a good article about the frontend workflow with Magento 2, see: https://www.integer-net.com/magento-2-frontend-workflow-step-by-step/
--
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution"
Thanks mhauri
I'm in development mode (just double checked to be sure).
Yes, Sandros article is very good (the best one I have found so far on the workflow topic)
Hello @Brake6
maybe css calling from page cache, try to check into the inconito mode.
Hope it will help you.
You are so right, Sunil!
And such a newbie mistake by me. Reloading the browser without the cache (on Safari, cmd+alt+R) fixed it.
Thanks,
Magnus