From 66dd264f7b15c05006faa00694c88c56794edc54 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Sun, 11 Jun 2017 11:29:03 +0200 Subject: Better build/dev scripts --- support/doc/server/code.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'support/doc/server/code.md') diff --git a/support/doc/server/code.md b/support/doc/server/code.md index 76d11c963..13e592335 100644 --- a/support/doc/server/code.md +++ b/support/doc/server/code.md @@ -42,7 +42,7 @@ Uses [JavaScript Standard Style](http://standardjs.com/). * Install [the dependencies](https://github.com/Chocobozzz/PeerTube#dependencies) * Run `npm install` at the root directory to install all the dependencies * Run PostgreSQL and create the database `peertube_dev`. - * Run `npm run dev` to compile the client and automatically run the server. If the client files are already compiled you can simply run `NODE_ENV=test node dist/server` + * Run `npm run dev:server` to compile the client, run the server and watch server files modifications. The `NODE_ENV=test` is set to speed up communications between pods (see [constants.ts](https://github.com/Chocobozzz/PeerTube/blob/master/server/initializers/constants.ts)). -- cgit v1.2.3