description:'Triggers whenever a new file was added',
},
{
name:'File Changed',
value:'change',
description:'Triggers whenever a file was changed',
},
{
name:'File Deleted',
value:'unlink',
description:'Triggers whenever a file was deleted',
},
{
name:'Folder Added',
value:'addDir',
description:'Triggers whenever a new folder was added',
},
{
name:'Folder Deleted',
value:'unlinkDir',
description:'Triggers whenever a folder was deleted',
},
],
required: true,
default:[],
description:'The events to listen to',
},
{
displayName:'Options',
name:'options',
type:'collection',
placeholder:'Add Option',
default:{},
options:[
{
displayName:'Include Linked Files/Folders',
name:'followSymlinks',
type:'boolean',
default:true,
description:'When activated, linked files/folders will also be watched (this includes symlinks, aliases on MacOS and shortcuts on Windows). Otherwise only the links themselves will be monitored).',
},
{
displayName:'Ignore',
name:'ignored',
type:'string',
default:'',
placeholder:'**/*.txt',
description:'Files or paths to ignore. The whole path is tested, not just the filename.Supports <a href="https://github.com/micromatch/anymatch">Anymatch</a>- syntax.',
},
{
displayName:'Max Folder Depth',
name:'depth',
type:'options',
options:[
{
name:'Unlimited',
value:-1,
},
{
name:'5 Levels Down',
value: 5,
},
{
name:'4 Levels Down',
value: 4,
},
{
name:'3 Levels Down',
value: 3,
},
{
name:'2 Levels Down',
value: 2,
},
{
name:'1 Levels Down',
value: 1,
},
{
name:'Top Folder Only',
value: 0,
},
],
default:-1,
description:'How deep into the folder structure to watch for changes',