From 68f6b8820dde179bdac3ec9eb27fa605b2cdd206 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Wed, 31 Mar 2021 10:59:26 +0100 Subject: [PATCH] Support BBUI hot reloading --- package.json | 2 +- scripts/symlinkDev.js | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 037e9c4b1c..5a77ff9543 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "svelte": "^3.30.0" }, "scripts": { - "bootstrap": "lerna bootstrap", + "bootstrap": "lerna link && lerna bootstrap", "build": "lerna run build", "initialise": "lerna run initialise", "publishdev": "lerna run publishdev", diff --git a/scripts/symlinkDev.js b/scripts/symlinkDev.js index ec76d28ae3..6917e57883 100755 --- a/scripts/symlinkDev.js +++ b/scripts/symlinkDev.js @@ -35,6 +35,10 @@ const SYMLINK_PATHS = [ symlink: `${devDir}/@budibase/string-templates`, destination: resolve("packages/string-templates"), }, + { + symlink: `${devDir}/@budibase/bbui`, + destination: resolve("packages/bbui"), + }, ] SYMLINK_PATHS.forEach(sym => {