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
developermode. In this mode:- you can see errors;
- the static content like
cssandjavascriptfiles will be linked to thepubfolder and you no need to dosetup:static-content:deployeach time after an changes.
To do it, please run the command:
bin/magento deploy:mode:set developer
- Disable the following
cachetypes:layoutblock_htmlfull_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 ๐ค