tiro-notes 0.30.98-97 → 0.30.98-98

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/cli.js CHANGED
@@ -24,7 +24,7 @@ ARGS:
24
24
  --https/-s : enable https ssl with self signed certificate (boolean, false by default)
25
25
  --port/-p : port to use (number, 3023 by default)
26
26
  --no-open/-no : do not open Tiro in browser when starting
27
- --verbose/-v : control logs verbosity [0/1/2] (0:none, 1: critical, 2: all)
27
+ --verbose/-v : control logs verbosity [0/1/2/3] (0:none, 1: critical, 2: all, 3: performance monitoring)
28
28
 
29
29
  --tunnel/-t : [require autossh] uses autossh to "publish" the app on the web, requires a server you can access with ssh and autossh installed on that device. (ex:npx tiro-notes@latest -t REMOTE_USER@REMOTE_URL:REMOTE_PORT)
30
30
 
@@ -106,7 +106,8 @@ function startTiroServer (argsObj, cb) {
106
106
  logLevel: argsObj.verbose,
107
107
  env: {
108
108
  TIRO_PORT: argsObj.port,
109
- TIRO_HTTPS: argsObj.https
109
+ TIRO_HTTPS: argsObj.https,
110
+ TIRO_PERFORMANCE_MONITORING_BACKEND: argsObj.verbose === 3
110
111
  },
111
112
  logName: 'tiroServer',
112
113
  onLog: str => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tiro-notes",
3
- "version": "0.30.98-97",
3
+ "version": "0.30.98-98",
4
4
  "description": "Tiro Notes CLI to start Tiro Notes from the command line!",
5
5
  "scripts": {
6
6
  "dev": "ISDEV=true node cli.js",