chore(medusa,orchestration,link-modules,modules-sdk): internal services as modules (#4925)
This commit is contained in:
committed by
GitHub
parent
85fa90d9c6
commit
a4906d0ac0
@@ -2,6 +2,7 @@ const path = require("path")
|
||||
const express = require("express")
|
||||
const importFrom = require("import-from")
|
||||
const chokidar = require("chokidar")
|
||||
const { WorkflowManager } = require("@medusajs/orchestration")
|
||||
|
||||
process.env.DEV_MODE = !!process[Symbol.for("ts-node.register.instance")]
|
||||
process.env.NODE_ENV = process.env.DEV_MODE && "development"
|
||||
@@ -107,6 +108,8 @@ const watchFiles = () => {
|
||||
}
|
||||
}
|
||||
|
||||
WorkflowManager.unregisterAll()
|
||||
|
||||
await bootstrapApp()
|
||||
IS_RELOADING = false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user