autowatch not working in standalone

Jun 17, 2010 at 5:50pm

autowatch not working in standalone

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

#50940
Jun 20, 2010 at 12:38am

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.

Attachments:
  1. Autowatch.zip
#182711
Jun 21, 2010 at 8:17pm

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

#182712
Jun 21, 2010 at 10:30pm

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

#182713
Jun 21, 2010 at 11:02pm

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.

#182714

You must be logged in to reply to this topic.