CQ-editor icon indicating copy to clipboard operation
CQ-editor copied to clipboard

Automatic reload and preview randomly stops working

Open r4dr3fr4d opened this issue 2 years ago • 4 comments

I have auto-reload enabled, but often when I write to my file in vim, CQ-editor doesn't pick up the changes. Sometimes I can uncheck and re-check the option, write to the file again, and it will correct itself, other times I have to close and restart the program entirely. Has anyone else observed this issue? I'm on Arch Linux and am using the latest release build.

r4dr3fr4d avatar Aug 05 '21 14:08 r4dr3fr4d

Take a look here: https://github.com/CadQuery/CQ-editor/pull/48

Does changing the delay solve your issue?

adam-urbanczyk avatar Aug 05 '21 16:08 adam-urbanczyk

Thanks for the reply, but not sure how to test that with the release build.

r4dr3fr4d avatar Aug 06 '21 13:08 r4dr3fr4d

Has anyone else observed this issue?

I use CQ-editor and Vim and have not noticed this on my laptop or desktop.

marcus7070 avatar Aug 09 '21 00:08 marcus7070

I've been using cq-editor with emacs and noticed exactly this issue last night. It seemed to be triggered by an unreported syntax error in the cadquery source file which made it even more confusing. When there's an unreported syntax error it can be unclear whether the display isn't updating due to the syntax error or because auto reload isn't working. But I believe in my case I fixed the syntax error and cq-editor still wasn't reloading the file; I had to quit and restart cq-editor to get reload working again.

cscott avatar Aug 27 '21 20:08 cscott