Is it possible to override a remote JavaScript file with a local copy for one developer?
Use case: A JavaScript Developer who has not yet proven them self is asked to fix certain bugs in a JavaScript file. The file is part of a larger application, and you don't want to give this developer write access to the server copy yet. The application should run off our server just as intended, but for this one user, when the one file, SomeFile.js, is included, it includes a local version of SomeFile.js which is on that developer's own computer. Everything else runs in place.
Can this be done?
- I can change the tag in the meta head with firebug, but the change doesn't stick on refresh. Is there another plug-in that can do this?
- Can a file be overridden at the OS level, with a file similar to the hosts file (it would need to remap one file, not the domain)?