Especially after changing .html knockout js template files I have to always deploy static content with bin/magento setup:static-content:deploy <languages>
.
This makes development very slow.
I can just delete all static contents and let it create on the fly but that is no alternative as it will raise page load times to 15+ seconds (sometimes more than a minute.)
How can I improve this situation?
Best Answer
bin/magento setup:static-content:deploy <languages>
<vendor>/.../web/template/shipping.html
shipping.html
inpub/static
or invar
(likeview_preprocessed
) for other files and delete only the file in question ie.shipping.html
Now Magento will use static files except for the file you are working on which will be generated on the fly (or used via symlink). If you want to have it static again just re-deploy static files.