I am trying to write a glob pattern that matches .js
files but not .min.js
files. The string then gets passed to this method:
let watcher = workspace.createFileSystemWatcher(globPattern);
I have tried multiple patterns, but none of them are finding files.
'**/!(*.min).js'
'**/*.!(min).js'
What pattern can I use that finds just the .js
files and not the .min.js
files?
via Get Off My Lawn
No comments:
Post a Comment