Solution
There will be no introduction here. Straight to the point.
For a comfortable development for the Magento 2 I use the following setting:
- Enable
developer
mode. In this mode:- you can see errors;
- the static content like
css
andjavascript
files will be linked to thepub
folder and you no need to dosetup:static-content:deploy
each time after an changes.
To do it, please run the command:
bin/magento deploy:mode:set developer
- Disable the following
cache
types:layout
block_html
full_page
Disabling of these caches will slow down the page speed loading (a little bit), but will saves your time and nerves. Just trust me ๐
To this just run the command:
bin/magento cache:disable layout block_html full_page
Conclusion
As you can see this is very simple solution.
But it will very helpfull for your development for Magento 2.
Happy development ๐ค