diff --git a/packages/xarc-app-dev/lib/dev-admin/redbird-proxy.js b/packages/xarc-app-dev/lib/dev-admin/redbird-proxy.js index 6c6d727d6..98db3f50b 100644 --- a/packages/xarc-app-dev/lib/dev-admin/redbird-proxy.js +++ b/packages/xarc-app-dev/lib/dev-admin/redbird-proxy.js @@ -243,7 +243,7 @@ const startProxy = inOptions => { const userFiles = ["archetype/config", "src", "test", "config"].map(x => `${x}/dev-proxy-rules`); const userDevProxyFile = userFiles.find(f => optionalRequire.resolve(Path.resolve(f))); - const userDevProxy = userDevProxyFile && require(userDevProxyFile); + const userDevProxy = userDevProxyFile && require(Path.resolve(userDevProxyFile)); const restart = async () => { // ensure user's proxy rules are refreshed