← Back to team overview

sikuli-driver team mailing list archive

[Bug 814089] Re: IDE: Made a change in imported code need a restart of IDE

 

This is a known "feature" of the IDE.

It is on the list of the request bugs, but not so easy to solve.
What you get in turn is fast subsequent script starts, because the initialization is only done, when the IDE starts up.

So you are doing things right.

If the file contains class definitions only you might try execfile()
instead in the main script. This redefines the class at each run.

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/814089

Title:
  IDE: Made a change in imported code need a restart of IDE

Status in Sikuli:
  New

Bug description:
  Hi, I'm just trying Sikuli X-1.0rc2. But I noticed something with IDE. 
  I have created a class in a file. Then I'm calling this file in my main file. During my test a give a name to an object. But if I change name of this object and save file and run again the name during run is still the older one. Same when I delete a click with a screen shot. Each time I have to restart the IDE. I don't really know if it is due to my Environment. I'm on Windows 7 4bits and I'm working with dual displays.

  Please feel free to set this bug as invalid if it is, but with telling
  what I'm doing wrong.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/814089/+subscriptions


References