I am modifying a module which uses css and js.
OS : WINDOWS
Magento Mode : Developer
What I've tried :
php bin/magento setup:static-content:deploy
php bin/magento indexer:reindex
deleted cache folder under var/cache
deleted C:\xampp\htdocs\magento2\pub\static ( except .htaccess file)
By doing this all the css and js updates, but I have to do it each time even for minor css changes
In ubuntu, it works fine when I am in developer mode. I opened it private browser, even flushed the browser cache.
Update: In developer mode
on windows environment
if we delete all the files form pub/static folder and than refresh the page it will show the updated css and js .
I have no idea its the only way to work on windows environment as in Linux in developer mode everything got updated as we refresh the page.
To remove version number from files path
Stores>Configuration>Advanced>Developer>[ Static Files Settings tab] Sign Static Files
to NO