Titanium JIRA Archive
Appcelerator Daemon (DAEMON)

[DAEMON-236] appcd-plugin: Support wildecard ignore patterns for external plugin auto-reloading

GitHub Issuen/a
TypeBug
PriorityHigh
StatusResolved
ResolutionFixed
Resolution Date2018-02-16T16:20:19.000+0000
Affected Version/sn/a
Fix Version/sAppc Daemon 1.1.0
Componentsappcd-plugin
Labelsn/a
ReporterChris Barber
AssigneeChris Barber
Created2018-02-14T23:17:34.000+0000
Updated2018-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

Comments

  1. Chris Barber 2018-02-15

    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 the README.md) * Note plugin is _not_ unloaded 4. Modify a watched file (e.g. change the description in the package.json) * Note plugin is unloaded

JSON Source