From 6b3e84aa76cb24bfafee9c96a472acf797d40029 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Sun, 15 Jan 2023 12:35:24 +0100 Subject: [PATCH] include stderr in log file --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 2f1ac87..ad52da4 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "build": "tsc", "lint": "tslint --project ./tsconfig.json -t stylish", "start": "ts-node src/index.ts", - "daily": "ts-node src/index.ts | tee -a log_`date --iso-8601`.txt", + "daily": "ts-node src/index.ts |& tee -a log_`date --iso-8601`.txt", "test": "doctest-ts-improved src/ && mocha --require ts-node/register \"./**/*.doctest.ts\" && (find . -type f -name \"*.doctest.ts\" | xargs rm)" }, "dependencies": {