mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Add 'npm test' for mac
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -73,7 +73,7 @@ function transpile(fileNames: string[], options: ts.CompilerOptions) {
|
||||
console.log("Watching for changes...");
|
||||
fs.watch(".", { persistent: true, recursive: true, encoding: "utf8" }, (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);
|
||||
|
||||
Reference in New Issue
Block a user