fix(medusa,framework): HMR file watch (#14390)

This commit is contained in:
Carlos R. L. Rodrigues
2025-12-27 11:52:38 -03:00
committed by GitHub
parent caa561badf
commit d347e369ce
5 changed files with 15 additions and 9 deletions

View File

@@ -79,7 +79,7 @@
"@medusajs/utils": "2.12.3",
"@medusajs/workflows-sdk": "2.12.3",
"@types/express": "^4.17.21",
"chokidar": "^3.5.3",
"chokidar": "^4.0.3",
"compression": "^1.8.1",
"connect-redis": "5.2.0",
"cookie-parser": "^1.4.6",

View File

@@ -37,10 +37,10 @@ export class Compiler {
this.#adminOnlyDistFolder = path.join(this.#projectRoot, ".medusa/admin")
this.#pluginsDistFolder = path.join(this.#projectRoot, ".medusa/server")
this.#backendIgnoreFiles = [
"/integration-tests/",
"/test/",
"/unit-tests/",
"/src/admin/",
"integration-tests",
"test",
"unit-tests",
"src/admin",
]
}
@@ -495,7 +495,7 @@ export class Compiler {
"dist",
"static",
"private",
".medusa/**/*",
".medusa",
...this.#backendIgnoreFiles,
],
})