Comments (2)
Thanks for reporting this. It looks like vscode is piping the python source via stdin into the python interpreter. The current implementation of reloading can't see which file the source code came from when tracking source code changes.
To use reloading, please run the file directly, e.g. python my_module.py
from reloading.
Thanks for the explanation Julian! Is this a possible future feature request, or just too difficult?
It might be worth mentioning in the documentation at least?
from reloading.
Related Issues (16)
- Performance improvement: option to only reload every n iterations
- Chore: update/add documentatio for reloading every n loops HOT 2
- improvement: check file change date/hash and only reload if changed HOT 2
- Locate reloading loops in source by something other than line number HOT 1
- patch for #5 issue
- how can I debug the reloading code step by step in IDE such as vscode? HOT 1
- Reload class and methods inside, reload for-loop within function which has 'return', 'continue', 'break' statements HOT 3
- Allow to stack decorators HOT 3
- Fix README.md instructions HOT 1
- Not support chinese
- List index error when files lacks ending \n HOT 1
- Pull request for local variable overwrite bug HOT 3
- AttributeError: 'Attribute' object has no attribute 'id' HOT 3
- Condaforge
- KeyError: '__inner__' HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from reloading.