Browse Source

Run Budibase Dev Server from top level, server side watch mode (#64)

* better dev command

* update readme
pull/4023/head
Martin McKeaveney 7 years ago
committed by Michael Shanks
parent
commit
bc6f671668
  1. 3
      package.json
  2. 9
      readme.md

3
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"
}
}

9
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:

Loading…
Cancel
Save