In VS2013 RTM, we shipped a not well known feature for _references.js file: /// <autosync enabled="true" />.
If we specify /// <autosync enabled="true" /> in the beginning of ~/scripts/_references.js, then any addition, rename, deletion of JavaScript files in the project will automatically change the content in this file. You can disable this feature by removing the line or put assign false to enabled attribute.
For example, create a new MVC project, open scripts/_references.js file and you will see the following if you are using VS2013 with update 3.
Go to the complete details ...