How to reload a file via require.js triggered from the browsers js console
Having a text file (underscore templates) loaded by require.js on initial app start: define(['text!templates/template.html'], function(Template){ ... }; When i am now making changes to this file and want require to reload that single file without me having to reload the whole page and restart the whole app, is this possible? I'd like to trigger this from the javascript console in the browser. Use case is a scenario with underscore templates loaded via require.js, when making changes to one of those template files i could easily "inject" the new file to the running app, trigger the views render