I recently updated to Magento 2.0.6, and now my symlinks are no longer created when I run my site in developer mode.
When I delete the pub/static-folder (I run nginx, so I don't need the .htaccess file) and reload the page, only requirejs-config.js files are created, nothing else.
When I run setup:static-content:deploy, all files are copied, instead of symlinked.
Can anyone tell me what might be going wrong here? I don't want to wait a couple of minutes every time to check my edits to CSS and/or JS files. Is my assumption right that in developer mode symlinks should be automatically created without the setup:static-content:deploy-command?
My bad!
It turns out my nginx configuration was overwritten by a provision script. Therefore, my $MAGE_MODE was not set (at all). Applying the default example from nginx.conf.sample solved my problem!
Another 3 hours well spent...
Most helpful comment
My bad!
It turns out my nginx configuration was overwritten by a provision script. Therefore, my
$MAGE_MODEwas not set (at all). Applying the default example fromnginx.conf.samplesolved my problem!Another 3 hours well spent...