Arduino serial crashes all macos USB ports

Hi guys,

something really weird started happening recently. The arduino nano causes all my macbook pro's USB to stop working.
It seems to happen only when it is a broken sketch (calling a method on a null pointer, for example). I am upload it am using inotool and opening serial straightaway.
The the mac starts emitting a loud bip sound, like if I was overloading the USB port with extra current, then I unplug the Nano, it stops bipping and all USB ports stop working, as well as the laptop keyboard and touchpad.

The operation system keeps running because I can still access the web server.

The same board and the same upload/serial procedure used to work.

Any ideas?

Just tried uploading without inotool and it works fine. It seems it is to do with pipcom that inotoll uses.