diff --git a/docs/LOCAL_SETUP.md b/docs/LOCAL_SETUP.md index 7cc69d4f..8ceae0c0 100644 --- a/docs/LOCAL_SETUP.md +++ b/docs/LOCAL_SETUP.md @@ -165,3 +165,13 @@ admin@example.org:admin ```shell script rails s ``` + +## Webpack + +This project uses `webpacker` to integrate Webpack with Rails to deliver Frontend assets. During development, the `webpack-dev-server` automatically launches togehter with the Rails server if not specified otherwise. In case of missing JavaScript or stylesheets or for hot reloading in the browser, you might want to start the `webpack-dev-server` manually *before starting Rails*: + +```shell script +./bin/webpack-dev-server +``` + +This will launch a dedicated server on port 3035 (default setting) and allow incoming WebSocket connections from your browser.