Skip to content

Commit

Permalink
Document how to clear the built CSS/JS assets
Browse files Browse the repository at this point in the history
  • Loading branch information
BenSturmfels committed Jul 27, 2023
1 parent 209a550 commit c536742
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ 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 [built
in](https://guides.rubyonrails.org/v6.0/command_line.html#rails-assets) to Rails.

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 c536742

Please sign in to comment.