Maybe a stupid question, but the answers i can find are all differtent.
I changed some JS in core magento (vendor/magento), what CLI commands i need to make them effective? Is below correct (magento 2.2 with redis cache)
rm -rf generated/code* generated/metadata* var/view_preprocessed/*; rm -R pub/static/*;
php bin/magento cache:flush && php bin/magento setup:upgrade && php bin/magento setup:di:compile && php bin/magento setup:static-content:deploy && php bin/magento setup:static-content:deploy nl_NL && php bin/magento indexer:reindex