]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Add note about dev mode when testing a plugin
authorChocobozzz <me@florianbigard.com>
Mon, 23 May 2022 07:09:31 +0000 (09:09 +0200)
committerChocobozzz <me@florianbigard.com>
Mon, 23 May 2022 07:09:31 +0000 (09:09 +0200)
support/doc/plugins/guide.md

index 52e3b6052e38d3b9bda736cf01a595a0ffe0040f..e460f214e2098c343a1e2068183f30107c7288a2 100644 (file)
@@ -1015,13 +1015,16 @@ You built files are in the `dist/` directory. Check `package.json` to correctly
 
 ### Test your plugin/theme
 
+PeerTube dev server (ran with `npm run dev` on `localhost:3000`) can't inject plugin CSS.
+It's the reason why we don't use the dev mode but build PeerTube instead.
+
 You'll need to have a local PeerTube instance:
  * Follow the [dev prerequisites](https://github.com/Chocobozzz/PeerTube/blob/develop/.github/CONTRIBUTING.md#prerequisites)
  (to clone the repository, install dependencies and prepare the database)
- * Build PeerTube (`--light` to only build the english language):
+ * Build PeerTube:
 
 ```
-$ npm run build -- --light
+$ npm run build
 ```
 
  * Build the CLI: