diff --git a/package.json b/package.json index 34cec66de8..6c39e60edf 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,7 @@ "bootstrap": "lerna bootstrap", "build": "lerna run build", "initialise": "lerna run initialise", - "clean": "lerna clean" + "clean": "lerna clean", + "dev": "lerna run --parallel --stream dev:builder" } } diff --git a/readme.md b/readme.md index ef02437ba9..524a9933b8 100644 --- a/readme.md +++ b/readme.md @@ -73,9 +73,12 @@ if you then want to run the builder in dev mode (i.e. with hot reloading): ... keep the server running, and.. 1. Open a new console -2. `cd packages/builder` -3. `yarn start` -4. Access the builder on http://localhost:3000 +2. `yarn dev` +3. Access the builder on http://localhost:3000 + +This will enable watch mode for both the client AND the server. + +### Running Commands from /server Directory Notice that when inside `packages/server`, you can use any Budibase CLI command via yarn: