Skip to content

Commit

Permalink
print is not real-time #2
Browse files Browse the repository at this point in the history
  • Loading branch information
Almenon committed Jan 23, 2018
1 parent 08f5ca3 commit a863400
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 31 deletions.
40 changes: 20 additions & 20 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 15 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"vscode": "^1.14.0"
},
"categories": [
"Other","Debuggers"
"Other",
"Debuggers"
],
"activationEvents": [
"onCommand:extension.evalPythonInRealTime"
Expand Down Expand Up @@ -37,26 +38,29 @@
"test": "node ./node_modules/vscode/bin/test"
},
"devDependencies": {
"typescript": "^2.0.3",
"vscode": "^1.0.0",
"@types/mocha": "^2.2.46",
"@types/node": "^6.0.96",
"mocha": "^2.3.3",
"@types/node": "^6.0.40",
"@types/mocha": "^2.2.32"
"typescript": "^2.0.3",
"vscode": "^1.0.0"
},
"dependencies": {
"arepl-backend": "^1.0.0-alpha.4",
"arepl-backend": "^1.0.0-alpha.5",
"opn": "^4.0.2",
"path": "^0.12.7",
"python-shell": "^0.4.0"
},
"bugs": {
"url": "https://github.com/almenon/arepl-vscode-wordcount/issues",
"email": "almenon214@gmail.com"
"url": "https://github.com/almenon/arepl-vscode-wordcount/issues",
"email": "almenon214@gmail.com"
},
"repository": {
"type": "git",
"url": "https://github.com/almenon/arepl-vscode.git"
"type": "git",
"url": "https://github.com/almenon/arepl-vscode.git"
},
"license": "SEE LICENSE IN <filename>",
"keywords":["python", "real-time"]
"keywords": [
"python",
"real-time"
]
}
1 change: 1 addition & 0 deletions src/PreviewManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export default class PreviewManager {
/////////////////////////////////////////////////////////
let self:PreviewManager = this;

this.pythonEvaluator.startPython()
this.pythonEvaluator.pyshell.childProcess.on('error', err => {
this.pythonPreviewContentProvider.handleSpawnError(err.path, err.spawnargs[0], err.stack);
})
Expand Down

0 comments on commit a863400

Please sign in to comment.