[DAEMON-236] appcd-plugin: Support wildecard ignore patterns for external plugin auto-reloading
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Resolved |
Resolution | Fixed |
Resolution Date | 2018-02-16T16:20:19.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Appc Daemon 1.1.0 |
Components | appcd-plugin |
Labels | n/a |
Reporter | Chris Barber |
Assignee | Chris Barber |
Created | 2018-02-14T23:17:34.000+0000 |
Updated | 2018-02-16T16:20:19.000+0000 |
Description
DAEMON-222 introduced the ability for external plugins to be auto-reloaded if a directory contents changes if anything other than the
.git
folder is changed. It doesn't take into account several other file/folder patterns which should be ignored, so of which use wildcards.
*.[Cc][Vv][Ss]
._*
.bzr
cvsignore
.DS_Store
.git*
.hg
LICENSE*
.npmignore
.project
README*
$RECYCLE.BIN
.sublime-project
.sublime-workspace
.svn
_svn
[Tt]humbs.db
.tmproj
.vscode
.vspscc
.vssscc
https://github.com/appcelerator/appc-daemon/pull/279 To test 1. Start the daemon (e.g.
appcd start
) 2. Load a plugin by calling it (e.g.appcd exec /jdk/latest/info
) 3. Modify an ignored file (e.g. change theREADME.md
) * Note plugin is _not_ unloaded 4. Modify a watched file (e.g. change the description in thepackage.json
) * Note plugin is unloaded