diff --git a/packages/servers/serverDev/README.md b/packages/servers/serverDev/README.md index 1802194d4..147bbfe10 100644 --- a/packages/servers/serverDev/README.md +++ b/packages/servers/serverDev/README.md @@ -8,6 +8,7 @@ The server consists of a Lowdefy Graphql server, and a static file server to ser ## Running a development server +- Build the repository in development mode by running `yarn build:dev` at the root of the repository. - Create a `lowdefy.yaml` file in the root of the package directory, and build this configuration with the cli using `lowdefy build`. - Build the dev server using `yarn build`. - Run the dev server using `yarn start`. diff --git a/packages/shell/package.json b/packages/shell/package.json index 55f0f0129..806fb6c94 100644 --- a/packages/shell/package.json +++ b/packages/shell/package.json @@ -32,6 +32,7 @@ "scripts": { "babel": "babel src/location.js --out-dir dist", "build": "yarn webpack && yarn babel", + "build:dev": "NODE_ENV=development yarn webpack && yarn babel", "clean": "rm -rf dist", "prepare": "yarn build", "webpack": "webpack --config webpack.config.js"