How to update jit.gl.slab when i've changed the .jxs file with sublime text 3


    Mar 06 2017 | 3:50 pm
    Hi everyone,
    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.
    If i double click the jit.gl.slab object and then just close it off it re compiles, which is very sloooooow. (i get its the javascript compiling)
    Ideally click save in sublime , slab updates instantly.
    Help anyone ?

    • Mar 06 2017 | 4:43 pm
      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:
    • Mar 08 2017 | 2:06 am
      Filewatch ! missed that one ! I'll check it out Rob. Thanks.