automatic generation of dir/files under pub/static not working. When i google about this find that i have to delete that file in which i did change and then run below given command.
php bin/magento setup:static-content:deploy
But there must be another way. because every time i cant run this command when change code in css file. And update css file under pub/static and upload final css file in last under theme and then run content is also not a solution.
i read on stack-overflow about .htaccess file must be under pub/static but that file also not work. it was removed so i add again file under
pub/static/.htaccess But it does not work.