Skip to content

Commit

Permalink
Revert "Update documentation"
Browse files Browse the repository at this point in the history
This reverts commit 272b36a.
  • Loading branch information
ahangarha committed Nov 24, 2023
1 parent 4945427 commit 15c7a6d
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -447,12 +447,7 @@ For more details see

If you want to use live code reloading, or you have enough JavaScript that on-demand compilation is too slow, you'll need to run `./bin/shakapacker-dev-server`. This process will watch for changes in the relevant files, defined by `shakapacker.yml` configuration settings for `source_path`, `source_entry_path`, and `additional_paths`, and it will then automatically reload the browser to match. This feature is also known as [Hot Module Replacement](https://webpack.js.org/concepts/hot-module-replacement/).

**Note:**
In digest strategy,
if you set a custom asset host either through
`Rails.application.config.asset_host` or `SHAKAPACKER_ASSET_HOST` environment variable,
a hash gets added to the asset path.
This feature causes recompilation of assets by changing the asset host.
**Note:** If you want to enforce recompilation on asset host change (for example, through `SHAKAPACKER_ASSET_HOST` environment variable), in addition to using digest strategy, you should set `compiler_strategy_asset_host_sensitive: true` in `config/shakapacker.yml`.

#### Common Development Commands

Expand Down

0 comments on commit 15c7a6d

Please sign in to comment.