I have a store with Magento 2 on a server with Ubuntu 16.04 + PHP 7.0 and I don't know why when I activate the developer mode by executing:
php bin/magento deploy:mode:set developer
The styles or the JS are not loaded and when I change the mode by executing the command:
php bin/magento setup:static-content:deploy
yes it works but I need it to load them in developer mode so I don't have to switch modes every time I make a change.
When Magento 2 is in developer mode, the files in the pub/static folder are not generated as in production mode, instead symbolic links to their sources are generated.
The entry point for the generation of these symbolic links occurs in pub/static.php and in nginx this is the rule that takes care of said behavior:
There are several things to check: