isaacpearl / crowjs

a Node.js module for connecting to and communicating with a crow eurorack module
0 stars 0 forks source link

Larger scripts crash upload process - upload scripts one line at a time #7

Open isaacpearl opened 3 years ago

isaacpearl commented 3 years ago

I'm not sure what the exact threshold is, but larger scripts (euclidean.lua is an example) do not upload, and require a reboot/druid intervention to work after program quit. I believe this is due an attempt to write too many lines at once - looking at druid's source code, it looks like the best way to get around this is to write each line individually, as in https://github.com/monome/druid/blob/master/src/druid/crow.py#L76.