Max For Live device discarding new .js file with old .js file.
I made a max for live object with a v8 object and file.
In the creation and troubleshooting process I have made updates to that .js file.
Max seems to like one version of that file more than others because if I unfreeze my device it discards the most recent version and replaces it with an older version.
How do I make this stop and why is it happening?
I'm not sure I figured the exact reason for this, but as close as I'll probably get. If you are having an issue with a max for live device that has embedded aspects, like bpatchers, or .js files. And you have changed some names around for testing, such as
MyDevice.amxd/MyBpatcher.maxpat/MyJs.js
becomes
MyDevice_BugTest.amxd/MyBpatcher_BugTest.maxpat/MyJs_BugTest.js It is possible to end up with a Project that has not updated, and has mismatched files.
If you investigate the "Show Containing Project" thingy in the toolbar:
MyDevice_BugTest.amxd/MyBpatcher.maxpat/MyJs.jsI think this section of the of the user guide should be mentioned under the Max For Live section
Projects | Cycling '74 Documentation
should be in MaxForLive/Overview
The takeaway is to never freeze the device you are working on, so you never have to unfreeze it. When you need to freeze it for distribution, first save it as a new copy, freeze that, and then delete the frozen version after you're done.