Add 'npm test' for mac

This commit is contained in:
Panayot Cankov
2016-05-30 09:24:33 +03:00
parent 153650fb47
commit 58b4a6eec6
11 changed files with 140 additions and 126 deletions

View File

@ -59,7 +59,7 @@ function transpile(fileNames, options) {
console.log("Watching for changes...");
fs.watch(".", { persistent: true, recursive: true, encoding: "utf8" }, function (event, file) {
try {
if (isTS(file) && !isDTS(file)) {
if (isTS(file) && !isDTS(file) && file.indexOf("platforms/android/") < 0 && file.indexOf("platforms/ios/") < 0) {
var tsPath = file;
var label = " - " + tsPath;
console.time(label);