twolfson / sublime-plugin-tests

Testing framework for Sublime Text plugins
The Unlicense
22 stars 2 forks source link

Try alternatives to execfile #17

Closed twolfson closed 11 years ago

twolfson commented 11 years ago

We might have prematurely pulled the trigger with using execfile. During my research, it looks like Python doesn't write to files until .close is called.

Try it out and see if it works.

http://stackoverflow.com/questions/5972277/write-not-working-in-python

twolfson commented 11 years ago

Inspected this. We cannot for command.py as it gets permanently cached by the CLI on its first run. For plugin_runner.py, it looks like Sublime Text's import still doesn't pick up changes.

Work on commits between 069f409 and 19323bd.