The autowatch function of pattrstorage seems to have stopped working on standalones built on my Mac. It works fine in standalones on my PC, and it works fine in the actual Max application on both platforms. Here are the details.
If I modify a json preset file, it doesn’t automatically reload when I am running the Mac standalone (pattrstorage set to @autowatch 1). The file will load–with the changes–if I quit and relaunch the app, just not if the file is modified while the app is open. The exact same app and json file work perfectly on my PC.
If I open the maxpatch from which the app is built, then the autowatch feature works on my Mac. I know the standalone is finding the file, because it loads it when the app launches, just not after the file is modified.
I’m beginning to suspect this may be a path issue, but for the life of me, I can’t figure out how to get pattrstorage to "autowatch" a file when I build the patch as a standalone. Try this example and let me know if it’s just me (the instructions are in the patcher). I’m building it on a MacBook Pro, Intel Core 2 Duo, 2.4 GHz, in OS 10.5.8 with Max 5.1.4.
Thanks for the verification. I don’t know if it’s helpful or not, but I also tried it on a Mac G4 Dual 1GHz running OS 10.4.11. On that computer, once I had pressed the "read ./PresetTest.json" button and loaded the file, autowatch would work until I quit the standalone, but it still won’t work on my MacBook Pro running 10.5.8. Both computers have Max 5.1.4.