Comparing version 0.3.2 to 0.3.3
10
index.js
@@ -524,2 +524,3 @@ #!/usr/bin/env node | ||
var absPath = getAbsPath(filePath); | ||
var stat; | ||
@@ -544,3 +545,8 @@ // ignore git files | ||
var stat = fs.statSync(absPath); | ||
try { | ||
stat = fs.statSync(absPath); | ||
} | ||
catch(ex){ | ||
return; | ||
} | ||
@@ -563,3 +569,3 @@ // only upload file not dir | ||
} | ||
else if (basename === 'dialog.xml') { | ||
else if (basename.endsWith('.xml')) { | ||
console.log('Dialog box config change is detected.'); | ||
@@ -566,0 +572,0 @@ return runSafe(aem, filePath, createDialogBox); |
{ | ||
"name": "aem-watch", | ||
"version": "0.3.2", | ||
"version": "0.3.3", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -20,3 +20,3 @@ # aem-watch | ||
`npm install "git+https://github.com/normanzb/aem-watch.git#v0.3.2" -g` | ||
`npm install "git+https://github.com/normanzb/aem-watch.git#v0.3.3" -g` | ||
@@ -41,3 +41,3 @@ ## Usage | ||
0.3.2 | ||
0.3.3 | ||
@@ -44,0 +44,0 @@ ## Known issues |
21520
548