diff --git a/README.md b/README.md index 7c9b9ee7..0ae36f1d 100644 --- a/README.md +++ b/README.md @@ -124,6 +124,22 @@ setTheme('default') setTheme('primary') ``` +Development mode +---------- + +In order to add new features to the cozy-bar v7 while working on another cozy-app: + +* Please ensure your app has the latest v7-stable `cozy-bar` version + +* Please ensure your app has at least the 6.3.4 `cozy-scripts` version + +* Then, follow these steps: + +`$ yarn link` // in cozy-bar +`$ rlink cozy-bar` // in the cozy-app +`$ yarn start` // in cozy-bar +`$ yarn start` // in the cozy-app + Contribute ---------- diff --git a/package.json b/package.json index 4b152127..1302a799 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,8 @@ "posttest": "bundlesize", "travis-deploy-once": "travis-deploy-once", "semantic-release": "semantic-release", - "example": "env USE_REACT=true nf -j examples/Procfile start" + "example": "env USE_REACT=true nf -j examples/Procfile start", + "start": "yarn watch" }, "devDependencies": { "@babel/core": "7.6.2",