Node for Max fails to restart script when file is edited with an external editor

James Bradbury's icon

I am able to reliably make node for max barf with any script by following these steps:

1. Start a valid script
2. Open the file in Max and edit the script, it restarts properly
3. Open the file in nvim, Sublime Text or VSCode

This results in:

"Process failed to restart"

or sometimes:

connect ENOENT /Volumes/dlof/u154001244_stdio

Can anyone reproduce this on their end and confirm it is a bug?

James Bradbury's icon

Seems to also happen if the Max native text editor is opened, destroyed and reopened during the normal course of working with the object.

For a bit more info I should have provided initially I'm:

Max: 8.2.1
OS: macOS 12.1
Hardware: M1

Florian Demmer's icon

Hi James.

Just ne more data point in order to investigate with full focus - are you running Max natively (arm64) or under Rosetta?

Thanks

James Bradbury's icon

I'm running natively.