From b7a43cd9d945aae5585845b619232eca072830fe Mon Sep 17 00:00:00 2001 From: ansuz Date: Mon, 13 Mar 2017 11:29:08 +0100 Subject: [PATCH] update readme to explain dev mode --- readme.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/readme.md b/readme.md index 9241d72dc..564551ce3 100644 --- a/readme.md +++ b/readme.md @@ -89,6 +89,16 @@ To test CryptPad, go to http://your.server:3000/assert/ You can use WebDriver to run this test automatically by running TestSelenium.js but you will need chromedriver installed. If you use Mac, you can `brew install chromedriver`. +## Developing with CryptPad + +CryptPad is built with a lot of small javascript libraries. +To make js files load faster, we apply an aggressive caching policy. + +If you want to add new features to CryptPad, you'll want to turn off caching. +You can do so by launching your server in _dev mode_, like so: + +`DEV=1 node server.js` + # Setup using Docker See [Cryptpad-Docker](cryptpad-docker.md)