Merge pull request #14698 from overleaf/bg-sg-use-node-watch

[misc] replace nodemon with "node --watch"

GitOrigin-RevId: 8b34861887b39ffe1c64d9e4679f8ebef09302bd
This commit is contained in:
Jakob Ackermann
2023-10-03 08:04:36 +00:00
committed by Copybot
parent 843b4f3940
commit efb36b7193
52 changed files with 45 additions and 534 deletions
+1 -2
View File
@@ -4,7 +4,6 @@ real-time
--env-add=
--env-pass-through=
--esmock-loader=False
--has-custom-nodemon=False
--node-version=18.18.0
--public-repo=False
--script-version=4.3.0
--script-version=4.4.0
-18
View File
@@ -1,18 +0,0 @@
{
"ignore": [
".git",
"node_modules/"
],
"verbose": true,
"legacyWatch": true,
"execMap": {
"js": "npm run start"
},
"watch": [
"app/js/",
"app.js",
"config/",
"../../libraries/"
],
"ext": "js"
}
+1 -1
View File
@@ -9,7 +9,7 @@
"test:acceptance": "npm run test:acceptance:_run -- --grep=$MOCHA_GREP",
"test:unit:_run": "mocha --recursive --reporter spec $@ test/unit/js",
"test:unit": "npm run test:unit:_run -- --grep=$MOCHA_GREP",
"nodemon": "nodemon --config nodemon.json",
"nodemon": "node --watch $NODE_APP_OPTIONS app.js",
"lint": "eslint --max-warnings 0 --format unix .",
"format": "prettier --list-different $PWD/'**/*.js'",
"format:fix": "prettier --write $PWD/'**/*.js'",