]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - support/doc/server/code.md
Better build/dev scripts
[github/Chocobozzz/PeerTube.git] / support / doc / server / code.md
index 76d11c963c076f8a22fbe80ea35f10c01ce93499..13e5923351c3eef60f23d2414bec6d5d9f21fba1 100644 (file)
@@ -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)).