I want to make changes in some magento-2 javascript files, but the result does not change on the storefront.
For example I change the text "Are you sure you want to remove this item from your Compare Products list?" in file \vendor\magento\module-catalog\view\frontend\web\js\view\compare-products.js.
Then I delete all files in the folders: /pub/static/ and /var/view_preprocessed/
Run the commands: service varnish restart and magento setup: static-content: deploy
But there is no result!
Please tell me what I'm doing wrong?