Skip to content

Commit ff7fc81

Browse files
authored
Update main.js
1 parent 849a9d0 commit ff7fc81

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

main.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"id": "liveserver",
1414
"name": "Live Server",
1515
"main": "main.js",
16-
"version": "2.0.1",
16+
"version": "2.0.2",
1717
"readme": "readme.md",
1818
"icon": "icon.png",
1919
"files": [],
@@ -102,11 +102,11 @@
102102

103103
///////////////////////////////////////////////////////////////////
104104
///INITILIZING ALL EVENT Listeners///////
105-
// editorManager.on('save-file', () => {
106-
// ///i have to move it to an seprate function so that it will only listen when its actually needed its efficient use of resources
107-
// ///ill update it later its forcing the windo to relode
108-
// this.reloadFile();
109-
// });
105+
editorManager.on('save-file', () => {
106+
///i have to move it to an seprate function so that it will only listen when its actually needed its efficient use of resources
107+
///ill update it later its forcing the windo to relode
108+
this.reloadFile();
109+
});
110110

111111
editorManager.on('switch-file', () => {
112112
this.showOrHideIFhtml();

0 commit comments

Comments
 (0)