File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -197,6 +197,7 @@ export class ClassCompletionItemProvider implements CompletionItemProvider {
197197}
198198
199199export function activate ( context : ExtensionContext ) {
200+
200201 const config = workspace . getConfiguration ( "css" ) ;
201202 const enabledLanguages = config . get < string [ ] > ( "enabledLanguages" , [ "html" ] ) ;
202203 const triggerCharacters = config . get < string [ ] > ( "triggerCharacters" , [ "\"" , "'" ] ) ;
@@ -212,7 +213,10 @@ export function activate(context: ExtensionContext) {
212213 const folders = workspace . workspaceFolders ?. map ( folder => `${ folder . uri . fsPath } /${ glob } ` ) ;
213214
214215 if ( folders ) {
215- const watcher = watch ( folders , { ignored : [ "**/node_modules/**" , "**/test*/**" ] } )
216+ const watcher = watch ( folders , {
217+ ignoreInitial : false ,
218+ ignored : [ "**/node_modules/**" , "**/test*/**" ]
219+ } )
216220 . on ( "add" , key => provider . files . add ( key ) )
217221 . on ( "unlink" , key => provider . files . delete ( key ) )
218222 . on ( "change" , key => provider . cache . delete ( key ) ) ;
You can’t perform that action at this time.
0 commit comments