Static files are never generated automatically in developer mode unless I manually use 'setup:static-content:deploy' command.
Following is from Frontend developer guide.
"If you add a new .html template, and then edit it, the changes will not apply until you do the following: delete all files in thepub/static/frontend and var/view_preprocessing directories, then reload the pages. You can delete the files manually or run thegrunt clean:<theme_name> command in CLI. For details about using Grunt in Magento see Installing and configuring Grunt."
As the instruction above I can confirm my new template file from my custom theme folder with template hint, but when I delete all files in pub/static/frontend and var/view_processing and flush cache, then reload, all static files are gone, and never coming back.( including blank and luma)
And the only way to get back static files is to use the command, "setup:static-content:deploy".
My current mode is developer.
Is this normal?
Solved! Go to Solution.
It may be a permissions problem: http://devdocs.magento.com/guides/v2.0/install-gde/prereq/file-system-perms.html
I found the solution.
It was pub/static/.htaccess file I was missing.
When I remove pub/static folder manually, I removed .htaccess file.
You can clean generated static view files in any of the following ways: