diff --git a/APIReference/nodemon.json b/APIReference/nodemon.json index d077702261..94e13da0bd 100644 --- a/APIReference/nodemon.json +++ b/APIReference/nodemon.json @@ -4,5 +4,7 @@ "ignore": [ "greenlock.d/*" ], - "exec": "node --inspect=0.0.0.0:9229 --require ts-node/register Index.ts" + "watchOptions": {"useFsEvents": false, "interval": 500}, + "env": {"TS_NODE_TRANSPILE_ONLY": "1", "TS_NODE_FILES": "false"}, + "exec": "node --inspect=0.0.0.0:9229 -r ts-node/register/transpile-only Index.ts" } \ No newline at end of file diff --git a/App/nodemon.json b/App/nodemon.json index d077702261..eb1829ad5b 100644 --- a/App/nodemon.json +++ b/App/nodemon.json @@ -4,5 +4,13 @@ "ignore": [ "greenlock.d/*" ], - "exec": "node --inspect=0.0.0.0:9229 --require ts-node/register Index.ts" + "watchOptions": { + "useFsEvents": false, + "interval": 500 + }, + "env": { + "TS_NODE_TRANSPILE_ONLY": "1", + "TS_NODE_FILES": "false" + }, + "exec": "node --inspect=0.0.0.0:9229 -r ts-node/register/transpile-only Index.ts" } \ No newline at end of file diff --git a/Copilot/nodemon.json b/Copilot/nodemon.json index 531caee36b..d5ac7d9069 100644 --- a/Copilot/nodemon.json +++ b/Copilot/nodemon.json @@ -4,5 +4,7 @@ "../Common" ], "ext": "ts,json,tsx,env,js,jsx,hbs", - "exec": "node --inspect=0.0.0.0:9229 --require ts-node/register Index.ts" + "watchOptions": {"useFsEvents": false, "interval": 500}, + "env": {"TS_NODE_TRANSPILE_ONLY": "1", "TS_NODE_FILES": "false"}, + "exec": "node --inspect=0.0.0.0:9229 -r ts-node/register/transpile-only Index.ts" } \ No newline at end of file diff --git a/FluentIngest/nodemon.json b/FluentIngest/nodemon.json index e19c71fe77..f06238294c 100644 --- a/FluentIngest/nodemon.json +++ b/FluentIngest/nodemon.json @@ -1,5 +1,7 @@ { "watch": ["./","../Common/Server", "../Common/Types", "../Common/Utils", "../Common/Models"], "ext": "ts,json,tsx,env,js,jsx,hbs", - "exec": "node --inspect=0.0.0.0:9229 --require ts-node/register Index.ts" + "watchOptions": {"useFsEvents": false, "interval": 500}, + "env": {"TS_NODE_TRANSPILE_ONLY": "1", "TS_NODE_FILES": "false"}, + "exec": "node --inspect=0.0.0.0:9229 -r ts-node/register/transpile-only Index.ts" } \ No newline at end of file diff --git a/Home/nodemon.json b/Home/nodemon.json index d077702261..94e13da0bd 100644 --- a/Home/nodemon.json +++ b/Home/nodemon.json @@ -4,5 +4,7 @@ "ignore": [ "greenlock.d/*" ], - "exec": "node --inspect=0.0.0.0:9229 --require ts-node/register Index.ts" + "watchOptions": {"useFsEvents": false, "interval": 500}, + "env": {"TS_NODE_TRANSPILE_ONLY": "1", "TS_NODE_FILES": "false"}, + "exec": "node --inspect=0.0.0.0:9229 -r ts-node/register/transpile-only Index.ts" } \ No newline at end of file diff --git a/IncomingRequestIngest/nodemon.json b/IncomingRequestIngest/nodemon.json index e19c71fe77..f06238294c 100644 --- a/IncomingRequestIngest/nodemon.json +++ b/IncomingRequestIngest/nodemon.json @@ -1,5 +1,7 @@ { "watch": ["./","../Common/Server", "../Common/Types", "../Common/Utils", "../Common/Models"], "ext": "ts,json,tsx,env,js,jsx,hbs", - "exec": "node --inspect=0.0.0.0:9229 --require ts-node/register Index.ts" + "watchOptions": {"useFsEvents": false, "interval": 500}, + "env": {"TS_NODE_TRANSPILE_ONLY": "1", "TS_NODE_FILES": "false"}, + "exec": "node --inspect=0.0.0.0:9229 -r ts-node/register/transpile-only Index.ts" } \ No newline at end of file diff --git a/IsolatedVM/nodemon.json b/IsolatedVM/nodemon.json index 1ba1b01e26..10eb9fece8 100644 --- a/IsolatedVM/nodemon.json +++ b/IsolatedVM/nodemon.json @@ -1,5 +1,7 @@ { "watch": ["./","../Common"], "ext": "ts,json,tsx,env,js,jsx,hbs", - "exec": "node --inspect=0.0.0.0:9229 --require ts-node/register Index.ts" + "watchOptions": {"useFsEvents": false, "interval": 500}, + "env": {"TS_NODE_TRANSPILE_ONLY": "1", "TS_NODE_FILES": "false"}, + "exec": "node --inspect=0.0.0.0:9229 -r ts-node/register/transpile-only Index.ts" } \ No newline at end of file diff --git a/OpenTelemetryIngest/nodemon.json b/OpenTelemetryIngest/nodemon.json index e19c71fe77..f06238294c 100644 --- a/OpenTelemetryIngest/nodemon.json +++ b/OpenTelemetryIngest/nodemon.json @@ -1,5 +1,7 @@ { "watch": ["./","../Common/Server", "../Common/Types", "../Common/Utils", "../Common/Models"], "ext": "ts,json,tsx,env,js,jsx,hbs", - "exec": "node --inspect=0.0.0.0:9229 --require ts-node/register Index.ts" + "watchOptions": {"useFsEvents": false, "interval": 500}, + "env": {"TS_NODE_TRANSPILE_ONLY": "1", "TS_NODE_FILES": "false"}, + "exec": "node --inspect=0.0.0.0:9229 -r ts-node/register/transpile-only Index.ts" } \ No newline at end of file diff --git a/Probe/nodemon.json b/Probe/nodemon.json index 531caee36b..d5ac7d9069 100644 --- a/Probe/nodemon.json +++ b/Probe/nodemon.json @@ -4,5 +4,7 @@ "../Common" ], "ext": "ts,json,tsx,env,js,jsx,hbs", - "exec": "node --inspect=0.0.0.0:9229 --require ts-node/register Index.ts" + "watchOptions": {"useFsEvents": false, "interval": 500}, + "env": {"TS_NODE_TRANSPILE_ONLY": "1", "TS_NODE_FILES": "false"}, + "exec": "node --inspect=0.0.0.0:9229 -r ts-node/register/transpile-only Index.ts" } \ No newline at end of file diff --git a/ProbeIngest/nodemon.json b/ProbeIngest/nodemon.json index e19c71fe77..f06238294c 100644 --- a/ProbeIngest/nodemon.json +++ b/ProbeIngest/nodemon.json @@ -1,5 +1,7 @@ { "watch": ["./","../Common/Server", "../Common/Types", "../Common/Utils", "../Common/Models"], "ext": "ts,json,tsx,env,js,jsx,hbs", - "exec": "node --inspect=0.0.0.0:9229 --require ts-node/register Index.ts" + "watchOptions": {"useFsEvents": false, "interval": 500}, + "env": {"TS_NODE_TRANSPILE_ONLY": "1", "TS_NODE_FILES": "false"}, + "exec": "node --inspect=0.0.0.0:9229 -r ts-node/register/transpile-only Index.ts" } \ No newline at end of file diff --git a/ServerMonitorIngest/nodemon.json b/ServerMonitorIngest/nodemon.json index e19c71fe77..f06238294c 100644 --- a/ServerMonitorIngest/nodemon.json +++ b/ServerMonitorIngest/nodemon.json @@ -1,5 +1,7 @@ { "watch": ["./","../Common/Server", "../Common/Types", "../Common/Utils", "../Common/Models"], "ext": "ts,json,tsx,env,js,jsx,hbs", - "exec": "node --inspect=0.0.0.0:9229 --require ts-node/register Index.ts" + "watchOptions": {"useFsEvents": false, "interval": 500}, + "env": {"TS_NODE_TRANSPILE_ONLY": "1", "TS_NODE_FILES": "false"}, + "exec": "node --inspect=0.0.0.0:9229 -r ts-node/register/transpile-only Index.ts" } \ No newline at end of file diff --git a/TestServer/nodemon.json b/TestServer/nodemon.json index 1ba1b01e26..10eb9fece8 100644 --- a/TestServer/nodemon.json +++ b/TestServer/nodemon.json @@ -1,5 +1,7 @@ { "watch": ["./","../Common"], "ext": "ts,json,tsx,env,js,jsx,hbs", - "exec": "node --inspect=0.0.0.0:9229 --require ts-node/register Index.ts" + "watchOptions": {"useFsEvents": false, "interval": 500}, + "env": {"TS_NODE_TRANSPILE_ONLY": "1", "TS_NODE_FILES": "false"}, + "exec": "node --inspect=0.0.0.0:9229 -r ts-node/register/transpile-only Index.ts" } \ No newline at end of file diff --git a/Worker/nodemon.json b/Worker/nodemon.json index d077702261..eb1829ad5b 100644 --- a/Worker/nodemon.json +++ b/Worker/nodemon.json @@ -4,5 +4,13 @@ "ignore": [ "greenlock.d/*" ], - "exec": "node --inspect=0.0.0.0:9229 --require ts-node/register Index.ts" + "watchOptions": { + "useFsEvents": false, + "interval": 500 + }, + "env": { + "TS_NODE_TRANSPILE_ONLY": "1", + "TS_NODE_FILES": "false" + }, + "exec": "node --inspect=0.0.0.0:9229 -r ts-node/register/transpile-only Index.ts" } \ No newline at end of file diff --git a/Workflow/nodemon.json b/Workflow/nodemon.json index d077702261..94e13da0bd 100644 --- a/Workflow/nodemon.json +++ b/Workflow/nodemon.json @@ -4,5 +4,7 @@ "ignore": [ "greenlock.d/*" ], - "exec": "node --inspect=0.0.0.0:9229 --require ts-node/register Index.ts" + "watchOptions": {"useFsEvents": false, "interval": 500}, + "env": {"TS_NODE_TRANSPILE_ONLY": "1", "TS_NODE_FILES": "false"}, + "exec": "node --inspect=0.0.0.0:9229 -r ts-node/register/transpile-only Index.ts" } \ No newline at end of file diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml index 21b5d8b9bd..a1cf775b45 100644 --- a/docker-compose.dev.yml +++ b/docker-compose.dev.yml @@ -44,12 +44,12 @@ services: file: ./docker-compose.base.yml service: accounts volumes: - - ./Accounts:/usr/src/app + - ./Accounts:/usr/src/app:cached # Use node modules of the container and not host system. # https://stackoverflow.com/questions/29181032/add-a-volume-to-docker-but-exclude-a-sub-folder - /usr/src/app/dev-env - /usr/src/app/node_modules/ - - ./Common:/usr/src/Common + - ./Common:/usr/src/Common:cached - /usr/src/Common/node_modules/ @@ -67,12 +67,12 @@ services: file: ./docker-compose.base.yml service: dashboard volumes: - - ./Dashboard:/usr/src/app + - ./Dashboard:/usr/src/app:cached # Use node modules of the container and not host system. # https://stackoverflow.com/questions/29181032/add-a-volume-to-docker-but-exclude-a-sub-folder - /usr/src/app/dev-env - /usr/src/app/node_modules/ - - ./Common:/usr/src/Common + - ./Common:/usr/src/Common:cached - /usr/src/Common/node_modules/ @@ -91,12 +91,12 @@ services: file: ./docker-compose.base.yml service: admin-dashboard volumes: - - ./AdminDashboard:/usr/src/app + - ./AdminDashboard:/usr/src/app:cached # Use node modules of the container and not host system. # https://stackoverflow.com/questions/29181032/add-a-volume-to-docker-but-exclude-a-sub-folder - /usr/src/app/dev-env - /usr/src/app/node_modules/ - - ./Common:/usr/src/Common + - ./Common:/usr/src/Common:cached - /usr/src/Common/node_modules/ @@ -114,12 +114,12 @@ services: file: ./docker-compose.base.yml service: status-page volumes: - - ./StatusPage:/usr/src/app + - ./StatusPage:/usr/src/app:cached # Use node modules of the container and not host system. # https://stackoverflow.com/questions/29181032/add-a-volume-to-docker-but-exclude-a-sub-folder - /usr/src/app/dev-env - /usr/src/app/node_modules/ - - ./Common:/usr/src/Common + - ./Common:/usr/src/Common:cached - /usr/src/Common/node_modules/ @@ -132,11 +132,11 @@ services: test-server: volumes: - - ./TestServer:/usr/src/app + - ./TestServer:/usr/src/app:cached # Use node modules of the container and not host system. # https://stackoverflow.com/questions/29181032/add-a-volume-to-docker-but-exclude-a-sub-folder - /usr/src/app/node_modules/ - - ./Common:/usr/src/Common + - ./Common:/usr/src/Common:cached - /usr/src/Common/node_modules/ @@ -155,11 +155,11 @@ services: home: volumes: - - ./Home:/usr/src/app + - ./Home:/usr/src/app:cached # Use node modules of the container and not host system. # https://stackoverflow.com/questions/29181032/add-a-volume-to-docker-but-exclude-a-sub-folder - /usr/src/app/node_modules/ - - ./Common:/usr/src/Common + - ./Common:/usr/src/Common:cached - /usr/src/Common/node_modules/ extends: file: ./docker-compose.base.yml @@ -173,11 +173,11 @@ services: worker: volumes: - - ./Worker:/usr/src/app + - ./Worker:/usr/src/app:cached # Use node modules of the container and not host system. # https://stackoverflow.com/questions/29181032/add-a-volume-to-docker-but-exclude-a-sub-folder - /usr/src/app/node_modules/ - - ./Common:/usr/src/Common + - ./Common:/usr/src/Common:cached - /usr/src/Common/node_modules/ extends: file: ./docker-compose.base.yml @@ -192,11 +192,11 @@ services: workflow: volumes: - - ./Workflow:/usr/src/app + - ./Workflow:/usr/src/app:cached # Use node modules of the container and not host system. # https://stackoverflow.com/questions/29181032/add-a-volume-to-docker-but-exclude-a-sub-folder - /usr/src/app/node_modules/ - - ./Common:/usr/src/Common + - ./Common:/usr/src/Common:cached - /usr/src/Common/node_modules/ extends: file: ./docker-compose.base.yml @@ -210,11 +210,11 @@ services: api-reference: volumes: - - ./APIReference:/usr/src/app + - ./APIReference:/usr/src/app:cached # Use node modules of the container and not host system. # https://stackoverflow.com/questions/29181032/add-a-volume-to-docker-but-exclude-a-sub-folder - /usr/src/app/node_modules/ - - ./Common:/usr/src/Common + - ./Common:/usr/src/Common:cached - /usr/src/Common/node_modules/ extends: file: ./docker-compose.base.yml @@ -228,11 +228,11 @@ services: docs: volumes: - - ./Docs:/usr/src/app + - ./Docs:/usr/src/app:cached # Use node modules of the container and not host system. # https://stackoverflow.com/questions/29181032/add-a-volume-to-docker-but-exclude-a-sub-folder - /usr/src/app/node_modules/ - - ./Common:/usr/src/Common + - ./Common:/usr/src/Common:cached - /usr/src/Common/node_modules/ extends: file: ./docker-compose.base.yml @@ -246,11 +246,11 @@ services: app: volumes: - - ./App:/usr/src/app + - ./App:/usr/src/app:cached # Use node modules of the container and not host system. # https://stackoverflow.com/questions/29181032/add-a-volume-to-docker-but-exclude-a-sub-folder - /usr/src/app/node_modules/ - - ./Common:/usr/src/Common + - ./Common:/usr/src/Common:cached - /usr/src/Common/node_modules/ extends: file: ./docker-compose.base.yml @@ -265,11 +265,11 @@ services: probe-1: volumes: - - ./Probe:/usr/src/app + - ./Probe:/usr/src/app:cached # Use node modules of the container and not host system. # https://stackoverflow.com/questions/29181032/add-a-volume-to-docker-but-exclude-a-sub-folder - /usr/src/app/node_modules/ - - ./Common:/usr/src/Common + - ./Common:/usr/src/Common:cached - /usr/src/Common/node_modules/ @@ -284,11 +284,11 @@ services: probe-2: volumes: - - ./Probe:/usr/src/app + - ./Probe:/usr/src/app:cached # Use node modules of the container and not host system. # https://stackoverflow.com/questions/29181032/add-a-volume-to-docker-but-exclude-a-sub-folder - /usr/src/app/node_modules/ - - ./Common:/usr/src/Common + - ./Common:/usr/src/Common:cached - /usr/src/Common/node_modules/ @@ -303,11 +303,11 @@ services: isolated-vm: volumes: - - ./IsolatedVM:/usr/src/app + - ./IsolatedVM:/usr/src/app:cached # Use node modules of the container and not host system. # https://stackoverflow.com/questions/29181032/add-a-volume-to-docker-but-exclude-a-sub-folder - /usr/src/app/node_modules/ - - ./Common:/usr/src/Common + - ./Common:/usr/src/Common:cached - /usr/src/Common/node_modules/ @@ -324,11 +324,11 @@ services: probe-ingest: volumes: - - ./ProbeIngest:/usr/src/app + - ./ProbeIngest:/usr/src/app:cached # Use node modules of the container and not host system. # https://stackoverflow.com/questions/29181032/add-a-volume-to-docker-but-exclude-a-sub-folder - /usr/src/app/node_modules/ - - ./Common:/usr/src/Common + - ./Common:/usr/src/Common:cached - /usr/src/Common/node_modules/ ports: - '9932:9229' # Debugging port. @@ -342,11 +342,11 @@ services: server-monitor-ingest: volumes: - - ./ServerMonitorIngest:/usr/src/app + - ./ServerMonitorIngest:/usr/src/app:cached # Use node modules of the container and not host system. # https://stackoverflow.com/questions/29181032/add-a-volume-to-docker-but-exclude-a-sub-folder - /usr/src/app/node_modules/ - - ./Common:/usr/src/Common + - ./Common:/usr/src/Common:cached - /usr/src/Common/node_modules/ ports: - '9941:9229' # Debugging port. @@ -360,11 +360,11 @@ services: open-telemetry-ingest: volumes: - - ./OpenTelemetryIngest:/usr/src/app + - ./OpenTelemetryIngest:/usr/src/app:cached # Use node modules of the container and not host system. # https://stackoverflow.com/questions/29181032/add-a-volume-to-docker-but-exclude-a-sub-folder - /usr/src/app/node_modules/ - - ./Common:/usr/src/Common + - ./Common:/usr/src/Common:cached - /usr/src/Common/node_modules/ ports: - '9938:9229' # Debugging port. @@ -378,11 +378,11 @@ services: incoming-request-ingest: volumes: - - ./IncomingRequestIngest:/usr/src/app + - ./IncomingRequestIngest:/usr/src/app:cached # Use node modules of the container and not host system. # https://stackoverflow.com/questions/29181032/add-a-volume-to-docker-but-exclude-a-sub-folder - /usr/src/app/node_modules/ - - ./Common:/usr/src/Common + - ./Common:/usr/src/Common:cached - /usr/src/Common/node_modules/ ports: - '9933:9229' # Debugging port. @@ -396,11 +396,11 @@ services: fluent-ingest: volumes: - - ./FluentIngest:/usr/src/app + - ./FluentIngest:/usr/src/app:cached # Use node modules of the container and not host system. # https://stackoverflow.com/questions/29181032/add-a-volume-to-docker-but-exclude-a-sub-folder - /usr/src/app/node_modules/ - - ./Common:/usr/src/Common + - ./Common:/usr/src/Common:cached - /usr/src/Common/node_modules/ ports: - '9937:9229' # Debugging port. @@ -472,11 +472,11 @@ services: copilot: volumes: - - ./Copilot:/usr/src/app + - ./Copilot:/usr/src/app:cached # Use node modules of the container and not host system. # https://stackoverflow.com/questions/29181032/add-a-volume-to-docker-but-exclude-a-sub-folder - /usr/src/app/node_modules/ - - ./Common:/usr/src/Common + - ./Common:/usr/src/Common:cached - /usr/src/Common/node_modules/ ports: - '9985:9229' # Debugging port.