After deleting files under 'view_preprocessed' folder they dont appear again when reloading siteMagento2 custom _typography.less gives errorCSS and JS is not loading in new themeUsing LESS in existing ThemeMagento2 custom theme suddenly stops workingHow to enable CSS source Maps for Magento 2Child theme does not load menu or parent theme components2.2 Faster way to regenerate css in developer modeError: Exception #0 (InvalidArgumentException): Unable to serialize value - Produced by custom ThemeGrunt, .less, and Live Reload - Can't get them workingMagento 2 less compilation error while setup:static-content:deploy
How to be diplomatic in refusing to write code that breaches the privacy of our users
Escape a backup date in a file name
Was a professor correct to chastise me for writing "Dear Prof. X" rather than "Dear Professor X"?
Why escape if the_content isnt?
Roman Numeral Treatment of Suspensions
Is this apparent Class Action settlement a spam message?
What happens if you roll doubles 3 times then land on "Go to jail?"
How does buying out courses with grant money work?
Large drywall patch supports
Increase performance creating Mandelbrot set in python
Would this custom Sorcerer variant that can only learn any verbal-component-only spell be unbalanced?
I'm in charge of equipment buying but no one's ever happy with what I choose. How to fix this?
How to safely derail a train during transit?
Failed to fetch jessie backports repository
Is expanding the research of a group into machine learning as a PhD student risky?
What is the best translation for "slot" in the context of multiplayer video games?
How to write papers efficiently when English isn't my first language?
Why didn't Theresa May consult with Parliament before negotiating a deal with the EU?
How to Reset Passwords on Multiple Websites Easily?
Lay out the Carpet
How do scammers retract money, while you can’t?
Pole-zeros of a real-valued causal FIR system
when is out of tune ok?
How can I kill an app using Terminal?
After deleting files under 'view_preprocessed' folder they dont appear again when reloading site
Magento2 custom _typography.less gives errorCSS and JS is not loading in new themeUsing LESS in existing ThemeMagento2 custom theme suddenly stops workingHow to enable CSS source Maps for Magento 2Child theme does not load menu or parent theme components2.2 Faster way to regenerate css in developer modeError: Exception #0 (InvalidArgumentException): Unable to serialize value - Produced by custom ThemeGrunt, .less, and Live Reload - Can't get them workingMagento 2 less compilation error while setup:static-content:deploy
I'm testing some small LESS changes in my theme. After every change I delete the contents inside:
pub/static/frontend/mytheme
and
var/view_preprocessed
Then I reload my site and the contents of var/view_processed
(css and source folders) are not created so the new LESS changes aren't applied. However the site loads fine with the previous LESS settings.
After visiting 10-15 pages the css and source folders are created again and I can see my changes finally.
I constantly delete the Magento cache so thats not the issue. I've also set Firefox and Chrome to not save cookies, history, etc. Permissions have been set to 777 to discard that possible cause.
Why dont the contents of var/view_preprocessed
folder get created right after the first reloading of my site?
magento2 theme css less
add a comment |
I'm testing some small LESS changes in my theme. After every change I delete the contents inside:
pub/static/frontend/mytheme
and
var/view_preprocessed
Then I reload my site and the contents of var/view_processed
(css and source folders) are not created so the new LESS changes aren't applied. However the site loads fine with the previous LESS settings.
After visiting 10-15 pages the css and source folders are created again and I can see my changes finally.
I constantly delete the Magento cache so thats not the issue. I've also set Firefox and Chrome to not save cookies, history, etc. Permissions have been set to 777 to discard that possible cause.
Why dont the contents of var/view_preprocessed
folder get created right after the first reloading of my site?
magento2 theme css less
php bin/magento setup:static-content:deploy
– Vaibhav Ahalpara
Oct 25 '16 at 8:52
add a comment |
I'm testing some small LESS changes in my theme. After every change I delete the contents inside:
pub/static/frontend/mytheme
and
var/view_preprocessed
Then I reload my site and the contents of var/view_processed
(css and source folders) are not created so the new LESS changes aren't applied. However the site loads fine with the previous LESS settings.
After visiting 10-15 pages the css and source folders are created again and I can see my changes finally.
I constantly delete the Magento cache so thats not the issue. I've also set Firefox and Chrome to not save cookies, history, etc. Permissions have been set to 777 to discard that possible cause.
Why dont the contents of var/view_preprocessed
folder get created right after the first reloading of my site?
magento2 theme css less
I'm testing some small LESS changes in my theme. After every change I delete the contents inside:
pub/static/frontend/mytheme
and
var/view_preprocessed
Then I reload my site and the contents of var/view_processed
(css and source folders) are not created so the new LESS changes aren't applied. However the site loads fine with the previous LESS settings.
After visiting 10-15 pages the css and source folders are created again and I can see my changes finally.
I constantly delete the Magento cache so thats not the issue. I've also set Firefox and Chrome to not save cookies, history, etc. Permissions have been set to 777 to discard that possible cause.
Why dont the contents of var/view_preprocessed
folder get created right after the first reloading of my site?
magento2 theme css less
magento2 theme css less
edited Apr 22 '16 at 8:28
Siarhey Uchukhlebau
9,91193058
9,91193058
asked Apr 22 '16 at 3:44
Luis GarciaLuis Garcia
65452043
65452043
php bin/magento setup:static-content:deploy
– Vaibhav Ahalpara
Oct 25 '16 at 8:52
add a comment |
php bin/magento setup:static-content:deploy
– Vaibhav Ahalpara
Oct 25 '16 at 8:52
php bin/magento setup:static-content:deploy
– Vaibhav Ahalpara
Oct 25 '16 at 8:52
php bin/magento setup:static-content:deploy
– Vaibhav Ahalpara
Oct 25 '16 at 8:52
add a comment |
4 Answers
4
active
oldest
votes
delete all folder inside <magento-root>/var/*
because var/generation folder also cached something.
delete var/* is not a problem because when page load its automatically get generated.
then clear you browser cache, load your page.
suppose still the problems remain please follow the below link instruction. don't need to delete every time pub/static/* below link have given idea about this.
https://stackoverflow.com/questions/36454314/simple-style-change-does-not-apply/36510694#36510694
have good luck.
I think the problem is related to browser. Althoguh I set it to not save any cache information, it seems it is still doing it anyways. I have to clear it every time.
– Luis Garcia
Apr 22 '16 at 16:53
Deleting everything inside /var and pub/static saved my life thanks @bilal
– ravisoni
May 7 '18 at 6:14
add a comment |
You can't get view_processed
folder until you deploy the content in site.
You must use deployment command to regenarate the view_processed
folder.
php bin/magento setup:static-content:deploy
Now you can check inside var
folder.
Now view_processed
folder is appear.
I'm in development mode? can I delete view_processed? CLI says deploy is not required for dev mode
– ravisoni
May 7 '18 at 6:09
No for deployment its not required
– Rakesh Jesadiya
May 7 '18 at 6:14
add a comment |
If you enable developer
mode. Magento 2 come start with default mode
php bin/magento deploy:mode:set developer
Static files in pub/static/frontend
or pub/static/adminhtml
will automatic re-generate after reload with clear cache. Reload it severals time
If you modify requirejs-config
you should remove file in pub/static/_requirejs
too
Remove files in pub/static will make all your changes updated
This seems not to be true. As long as there is stuff in view_preprocessed, that one is taken iiuc. Stuff in there does only get updated with static-deploy, even in developer mode (although then static-deploy needs to be called with --force parameter, because magento tells you the files are not used in dev-mode....).
– Felix
Dec 4 '17 at 18:45
add a comment |
run this command:
rm -rf var/* pub/static/*
then redeploy static content using the command below:
php bin/magento setup:static-content:deploy -f
New contributor
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f112053%2fafter-deleting-files-under-view-preprocessed-folder-they-dont-appear-again-whe%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
delete all folder inside <magento-root>/var/*
because var/generation folder also cached something.
delete var/* is not a problem because when page load its automatically get generated.
then clear you browser cache, load your page.
suppose still the problems remain please follow the below link instruction. don't need to delete every time pub/static/* below link have given idea about this.
https://stackoverflow.com/questions/36454314/simple-style-change-does-not-apply/36510694#36510694
have good luck.
I think the problem is related to browser. Althoguh I set it to not save any cache information, it seems it is still doing it anyways. I have to clear it every time.
– Luis Garcia
Apr 22 '16 at 16:53
Deleting everything inside /var and pub/static saved my life thanks @bilal
– ravisoni
May 7 '18 at 6:14
add a comment |
delete all folder inside <magento-root>/var/*
because var/generation folder also cached something.
delete var/* is not a problem because when page load its automatically get generated.
then clear you browser cache, load your page.
suppose still the problems remain please follow the below link instruction. don't need to delete every time pub/static/* below link have given idea about this.
https://stackoverflow.com/questions/36454314/simple-style-change-does-not-apply/36510694#36510694
have good luck.
I think the problem is related to browser. Althoguh I set it to not save any cache information, it seems it is still doing it anyways. I have to clear it every time.
– Luis Garcia
Apr 22 '16 at 16:53
Deleting everything inside /var and pub/static saved my life thanks @bilal
– ravisoni
May 7 '18 at 6:14
add a comment |
delete all folder inside <magento-root>/var/*
because var/generation folder also cached something.
delete var/* is not a problem because when page load its automatically get generated.
then clear you browser cache, load your page.
suppose still the problems remain please follow the below link instruction. don't need to delete every time pub/static/* below link have given idea about this.
https://stackoverflow.com/questions/36454314/simple-style-change-does-not-apply/36510694#36510694
have good luck.
delete all folder inside <magento-root>/var/*
because var/generation folder also cached something.
delete var/* is not a problem because when page load its automatically get generated.
then clear you browser cache, load your page.
suppose still the problems remain please follow the below link instruction. don't need to delete every time pub/static/* below link have given idea about this.
https://stackoverflow.com/questions/36454314/simple-style-change-does-not-apply/36510694#36510694
have good luck.
edited May 23 '17 at 12:37
Community♦
1
1
answered Apr 22 '16 at 4:27
Bilal UseanBilal Usean
5,06733691
5,06733691
I think the problem is related to browser. Althoguh I set it to not save any cache information, it seems it is still doing it anyways. I have to clear it every time.
– Luis Garcia
Apr 22 '16 at 16:53
Deleting everything inside /var and pub/static saved my life thanks @bilal
– ravisoni
May 7 '18 at 6:14
add a comment |
I think the problem is related to browser. Althoguh I set it to not save any cache information, it seems it is still doing it anyways. I have to clear it every time.
– Luis Garcia
Apr 22 '16 at 16:53
Deleting everything inside /var and pub/static saved my life thanks @bilal
– ravisoni
May 7 '18 at 6:14
I think the problem is related to browser. Althoguh I set it to not save any cache information, it seems it is still doing it anyways. I have to clear it every time.
– Luis Garcia
Apr 22 '16 at 16:53
I think the problem is related to browser. Althoguh I set it to not save any cache information, it seems it is still doing it anyways. I have to clear it every time.
– Luis Garcia
Apr 22 '16 at 16:53
Deleting everything inside /var and pub/static saved my life thanks @bilal
– ravisoni
May 7 '18 at 6:14
Deleting everything inside /var and pub/static saved my life thanks @bilal
– ravisoni
May 7 '18 at 6:14
add a comment |
You can't get view_processed
folder until you deploy the content in site.
You must use deployment command to regenarate the view_processed
folder.
php bin/magento setup:static-content:deploy
Now you can check inside var
folder.
Now view_processed
folder is appear.
I'm in development mode? can I delete view_processed? CLI says deploy is not required for dev mode
– ravisoni
May 7 '18 at 6:09
No for deployment its not required
– Rakesh Jesadiya
May 7 '18 at 6:14
add a comment |
You can't get view_processed
folder until you deploy the content in site.
You must use deployment command to regenarate the view_processed
folder.
php bin/magento setup:static-content:deploy
Now you can check inside var
folder.
Now view_processed
folder is appear.
I'm in development mode? can I delete view_processed? CLI says deploy is not required for dev mode
– ravisoni
May 7 '18 at 6:09
No for deployment its not required
– Rakesh Jesadiya
May 7 '18 at 6:14
add a comment |
You can't get view_processed
folder until you deploy the content in site.
You must use deployment command to regenarate the view_processed
folder.
php bin/magento setup:static-content:deploy
Now you can check inside var
folder.
Now view_processed
folder is appear.
You can't get view_processed
folder until you deploy the content in site.
You must use deployment command to regenarate the view_processed
folder.
php bin/magento setup:static-content:deploy
Now you can check inside var
folder.
Now view_processed
folder is appear.
answered Apr 22 '16 at 5:41
Rakesh JesadiyaRakesh Jesadiya
30k1576124
30k1576124
I'm in development mode? can I delete view_processed? CLI says deploy is not required for dev mode
– ravisoni
May 7 '18 at 6:09
No for deployment its not required
– Rakesh Jesadiya
May 7 '18 at 6:14
add a comment |
I'm in development mode? can I delete view_processed? CLI says deploy is not required for dev mode
– ravisoni
May 7 '18 at 6:09
No for deployment its not required
– Rakesh Jesadiya
May 7 '18 at 6:14
I'm in development mode? can I delete view_processed? CLI says deploy is not required for dev mode
– ravisoni
May 7 '18 at 6:09
I'm in development mode? can I delete view_processed? CLI says deploy is not required for dev mode
– ravisoni
May 7 '18 at 6:09
No for deployment its not required
– Rakesh Jesadiya
May 7 '18 at 6:14
No for deployment its not required
– Rakesh Jesadiya
May 7 '18 at 6:14
add a comment |
If you enable developer
mode. Magento 2 come start with default mode
php bin/magento deploy:mode:set developer
Static files in pub/static/frontend
or pub/static/adminhtml
will automatic re-generate after reload with clear cache. Reload it severals time
If you modify requirejs-config
you should remove file in pub/static/_requirejs
too
Remove files in pub/static will make all your changes updated
This seems not to be true. As long as there is stuff in view_preprocessed, that one is taken iiuc. Stuff in there does only get updated with static-deploy, even in developer mode (although then static-deploy needs to be called with --force parameter, because magento tells you the files are not used in dev-mode....).
– Felix
Dec 4 '17 at 18:45
add a comment |
If you enable developer
mode. Magento 2 come start with default mode
php bin/magento deploy:mode:set developer
Static files in pub/static/frontend
or pub/static/adminhtml
will automatic re-generate after reload with clear cache. Reload it severals time
If you modify requirejs-config
you should remove file in pub/static/_requirejs
too
Remove files in pub/static will make all your changes updated
This seems not to be true. As long as there is stuff in view_preprocessed, that one is taken iiuc. Stuff in there does only get updated with static-deploy, even in developer mode (although then static-deploy needs to be called with --force parameter, because magento tells you the files are not used in dev-mode....).
– Felix
Dec 4 '17 at 18:45
add a comment |
If you enable developer
mode. Magento 2 come start with default mode
php bin/magento deploy:mode:set developer
Static files in pub/static/frontend
or pub/static/adminhtml
will automatic re-generate after reload with clear cache. Reload it severals time
If you modify requirejs-config
you should remove file in pub/static/_requirejs
too
Remove files in pub/static will make all your changes updated
If you enable developer
mode. Magento 2 come start with default mode
php bin/magento deploy:mode:set developer
Static files in pub/static/frontend
or pub/static/adminhtml
will automatic re-generate after reload with clear cache. Reload it severals time
If you modify requirejs-config
you should remove file in pub/static/_requirejs
too
Remove files in pub/static will make all your changes updated
answered Apr 22 '16 at 8:14
mrtuvnmrtuvn
1,8691829
1,8691829
This seems not to be true. As long as there is stuff in view_preprocessed, that one is taken iiuc. Stuff in there does only get updated with static-deploy, even in developer mode (although then static-deploy needs to be called with --force parameter, because magento tells you the files are not used in dev-mode....).
– Felix
Dec 4 '17 at 18:45
add a comment |
This seems not to be true. As long as there is stuff in view_preprocessed, that one is taken iiuc. Stuff in there does only get updated with static-deploy, even in developer mode (although then static-deploy needs to be called with --force parameter, because magento tells you the files are not used in dev-mode....).
– Felix
Dec 4 '17 at 18:45
This seems not to be true. As long as there is stuff in view_preprocessed, that one is taken iiuc. Stuff in there does only get updated with static-deploy, even in developer mode (although then static-deploy needs to be called with --force parameter, because magento tells you the files are not used in dev-mode....).
– Felix
Dec 4 '17 at 18:45
This seems not to be true. As long as there is stuff in view_preprocessed, that one is taken iiuc. Stuff in there does only get updated with static-deploy, even in developer mode (although then static-deploy needs to be called with --force parameter, because magento tells you the files are not used in dev-mode....).
– Felix
Dec 4 '17 at 18:45
add a comment |
run this command:
rm -rf var/* pub/static/*
then redeploy static content using the command below:
php bin/magento setup:static-content:deploy -f
New contributor
add a comment |
run this command:
rm -rf var/* pub/static/*
then redeploy static content using the command below:
php bin/magento setup:static-content:deploy -f
New contributor
add a comment |
run this command:
rm -rf var/* pub/static/*
then redeploy static content using the command below:
php bin/magento setup:static-content:deploy -f
New contributor
run this command:
rm -rf var/* pub/static/*
then redeploy static content using the command below:
php bin/magento setup:static-content:deploy -f
New contributor
edited yesterday
magefms
2,0722426
2,0722426
New contributor
answered yesterday
Philip DruryPhilip Drury
61
61
New contributor
New contributor
add a comment |
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f112053%2fafter-deleting-files-under-view-preprocessed-folder-they-dont-appear-again-whe%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
php bin/magento setup:static-content:deploy
– Vaibhav Ahalpara
Oct 25 '16 at 8:52