mirror of
https://github.com/jason5ng32/MyIP.git
synced 2026-11-04 08:55:47 +00:00
nodemon watched the whole repo, so editing a frontend file restarted the backend. nodemon.json limits it to the backend entry points and their imports, skips the dataset directories (the updater writes state files there) and debounces bursts of saves, matching MyIP-api's setup. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
7 lines
188 B
JSON
7 lines
188 B
JSON
{
|
|
"watch": ["api", "server", "common", "backend-server.js", "sentry-instrument.js"],
|
|
"ext": "js,cjs,mjs,json",
|
|
"ignore": ["common/*-db", "tests", ".plan", "*.log"],
|
|
"delay": 300
|
|
}
|