Skip to content

Commit

Permalink
Merge pull request #1597 from BenSturmfels/docs-clear-assets
Browse files Browse the repository at this point in the history
Document how to clear the built CSS/JS assets
  • Loading branch information
wwahammy committed Jul 28, 2023
2 parents ae6c220 + 9b719f3 commit c1672c5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ reloading, run `bin/webpack-dev-server` in a second console. Now after making a
change to the JavaScript code you should see Webpack immediately rebuild the
assets and perform a full page reload.

When in doubt, you can manually clear the generated CSS and JavaScript files
with `bin/rails assets:clobber`, which is a Rails [built-in command](https://guides.rubyonrails.org/v6.0/command_line.html#rails-assets).

In development, it's **important** to access the Houdini at
`http://localhost:5000`, rather than the `http://127.0.0.1:5000` that Rails
suggests in the console. This ensures that the hard-coded callbacks in the
Expand Down

0 comments on commit c1672c5

Please sign in to comment.