Forums > MaxMSP

autowatch not working in standalone

June 17, 2010 | 5:50 pm

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.

Max 5.1.4 Mac/Win

June 20, 2010 | 12:38 am

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.

June 21, 2010 | 8:17 pm

I could swear this used to work, and from this thread, it seems I’m not the only one experiencing it.

June 21, 2010 | 10:30 pm

I can verify there is an issue with filewatch and @autowatch in pattrstorage on MacOS. We’re having a look at it. Thanks!

June 21, 2010 | 11:02 pm

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.

Viewing 5 posts - 1 through 5 (of 5 total)

Forums > MaxMSP