File tree Expand file tree Collapse file tree 3 files changed +7
-26
lines changed
Expand file tree Collapse file tree 3 files changed +7
-26
lines changed Original file line number Diff line number Diff line change 11## Changelog
22
3+ ### Version 0.1.11
4+
5+ 🩹 Fixes
6+
7+ - Removing Plugins watcher.
8+
39### Version 0.1.9
410
511📦 New
Original file line number Diff line number Diff line change 22 "name" : " nuxtr-vscode" ,
33 "displayName" : " Nuxtr" ,
44 "description" : " An extension for Nuxt.js offering commands and tools to make your experience more pleasant." ,
5- "version" : " 0.1.10 " ,
5+ "version" : " 0.1.11 " ,
66 "packageManager" :
" [email protected] " ,
77 "engines" : {
88 "vscode" : " ^1.80.0"
Original file line number Diff line number Diff line change @@ -66,31 +66,6 @@ class FileWatchers {
6666 this . sidebarProvider . getDependencies ( )
6767 } )
6868
69-
70- public pluginsFileWatcher = workspace
71- . createFileSystemWatcher ( `${ projectRootDirectory ( ) } /plugins/**/*` )
72- . onDidCreate ( async ( uri : Uri ) => {
73- const pluginsFiles = await workspace . findFiles ( 'plugins/**/*' ) . then ( ( files ) => {
74- return files . map ( ( file : any ) => {
75- return file . path . replace ( `${ projectRootDirectory ( ) } /` , '~/' )
76- } )
77- } )
78- updateNuxtConfig ( ( config ) => config . plugins = pluginsFiles )
79- } )
80-
81- public pluginsFileWatcherDeleted = workspace
82- . createFileSystemWatcher ( `${ projectRootDirectory ( ) } /plugins/**/*` )
83- . onDidDelete ( async ( uri : Uri ) => {
84-
85- const pluginsFiles = await workspace . findFiles ( 'plugins/**/*' ) . then ( ( files ) => {
86- return files . map ( ( file : any ) => {
87- return file . path . replace ( `${ projectRootDirectory ( ) } /` , '~/' )
88- } )
89- } )
90-
91- updateNuxtConfig ( ( config ) => config . plugins = pluginsFiles )
92- } )
93-
9469}
9570
9671export default FileWatchers
You can’t perform that action at this time.
0 commit comments