netlify / remix-template

Deploy your Remix site to Netlify
83 stars 27 forks source link

No dev server on port 3000, 8888 serves build only #92

Closed juanpprieto closed 1 year ago

juanpprieto commented 1 year ago

Describe the bug I'm trying the Remix/edge template but for the life of me I can't get a regular dev workflow going. The README indicates that a dev server will be available at http://localhost:3000 but netlify dev fires up a server at 8888.

8888 returns a 404 unless I run npm run build which means that npm run dev is acting more as a npm start (serving) command rather than dev.

Am I missing something?. Everything works as expected in the regular netlify functions template.

To Reproduce Steps to reproduce the behavior:

  1. npx create-remix@latest --template netlify/remix-edge-template
  2. npm run dev

Expected behavior I'd expect a working dev server with/without hot reloading. e.g Make changes reload see changes.

Desktop (please complete the following information):

nickytonline commented 1 year ago

Thanks for the issue @juanpprieto. Looking into this.