From 5195c1be35ccfcf923aff35ea5642376d0f59e61 Mon Sep 17 00:00:00 2001 From: Emad Elwany Date: Tue, 17 Jul 2018 12:48:38 -0700 Subject: [PATCH] Fix inspectors by fixing the path to the inspector preload script --- .../src/ui/editor/emulator/parts/inspector/inspector.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/app/client/src/ui/editor/emulator/parts/inspector/inspector.tsx b/packages/app/client/src/ui/editor/emulator/parts/inspector/inspector.tsx index 1ddd1fa2b..313f6d6a8 100644 --- a/packages/app/client/src/ui/editor/emulator/parts/inspector/inspector.tsx +++ b/packages/app/client/src/ui/editor/emulator/parts/inspector/inspector.tsx @@ -196,7 +196,8 @@ export class Inspector extends React.Component { md5.update(this.props.inspector.src); const hash = md5.digest('base64'); const { cwdAsBase } = SettingsService.emulator; - const fileLocation = `file://${cwdAsBase}/../../node_modules/@bfemulator/client/public/inspector-preload.js`; + const fileLocation = `file://${cwdAsBase}/../../../node_modules/@bfemulator/client/public/inspector-preload.js`; + return (