adobe/aem-boilerplate

404.html changes cannot be viewed locally

meryllblanchet opened this issue · 1 comments

Expected Behaviour

  • Create a new project out of the boilerplate
  • Update the 404.html (for example, change the error text in <h2 class="error-message">Page Not Found</h2>)
  • Save the file
  • Fire hlx up
  • Try to open http://localhost:3000/notfoundpage
  • The original 404.html gets rendered in the browser

Actual Behaviour

The updated 404.html should be rendered in the browser.
Workaround: commit your changes to a branch and test against the hot deployment.

Nevermind... http://localhost:3000/404.html does the trick.