How I can say to qcad so it reopens the dxf file after it has been modified externally?
I draw from ECMAScript:
1. Open qcad
2. Edit myscript.js and run from editor
Code: Select all
qcad -allow-multiple-instances -autostart myscript.js && qcad /tmp/myscript.dxf
4. Switch to qcad
5. Close documet /tmp/myscript.dxf (Ctrl-W)
6. Switch to the editor
7. Goto 2
If qcad reopens the dxf file after it has been modified externally, I will be able to stay in the editor:
1. Open qcad
2. Edit myscript.js and run from editor
Code: Select all
qcad -allow-multiple-instances -autostart myscript.js && qcad /tmp/myscript.dxf
4. Goto 2