darul75 / web-react

:diamond_shape_with_a_dot_inside: Another React Dev Kit with Webpack and NodeJS
https://react-web.herokuapp.com/
81 stars 8 forks source link

the `dev-server-client` command got blank 404 page #11

Open leonli opened 9 years ago

leonli commented 9 years ago

after running npm run dev-server-client, the localhost:8081 port can't get the request, it returns 404 for me.

screen shot 2015-07-23 at 1 13 13 pm

darul75 commented 9 years ago

first command

'npm run dev' launch an instance with no nodejs server backend, it is just the one from webpack to deliver your static website.

served on port 8080

the 2 following

'npm run dev-server-client' build client and server 'npm run dev-server' start your nodejs server backend.

served on port 3000

darul75 commented 9 years ago

hi @leonli, did my comments make sense for you case ? thx, julien