Had to restart Sikuli IDE to make code changes work

Asked by Landy

Windows 7 Ultimate x64
Sikuli x-1.0rc2
jre 1.6 32 bit

I have 2 sikuli scripts (for example, foo.sikuli and bar.sikuli), and foo.sikuli import bar.sikuli to use bar's functions.
If I modify foo.sikuli's code and execute, the code changes will work right now.
But if I modify bar.sikuli's code and execute foo.sikuli, the code changes won't work. Even I close and reopen the bar.sikuli.

The only valid way I find is to close Sikuli IDE then relaunch foo and bar.

Is it a valid bug, or is there something I miss?

Thanks.

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
Tsung-Hsiang Chang
Solved:
Last query:
Last reply:
Revision history for this message
Best Tsung-Hsiang Chang (vgod) said :
#1

It's a known bug. A workaround is to use command line to run your scripts, and use IDE to develop them.
Please subscribe to that bug and discuss follow-up there.

Revision history for this message
Landy (landy-zhu) said :
#2

Thanks Tsung-Hsiang Chang, that solved my question.