Quick question, working with jit.gl.slab , only changing the fragment shader all works so far.
So i edit and change my script in sublime text 3, save and the changes aren’t pushed through.
I thought that the jit.gl.slab reloads the .jxs file if any modifications are detected on disk, this is not the case.
Ideally click save in sublime , slab updates instantly.
Help anyone ?
i find the built-in editor pretty instantaneous to update the view after saving changes, so that’s what i use if i want interactive editing of a jxs file (though only works if glsl is inline in the jxs).
otherwise, simply re-read the file after making changes. you can use a filewatch object if you prefer this to be automatic:
— Pasted Max Patch, click to expand. —
Copy all of the following text. Then, in Max, select New From Clipboard.