Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialJoshua Michaels
7,306 PointsLocal server not starting automatically or reloading.
I've installed everything and updated to add the build step as outlined in this question: https://teamtreehouse.com/community/webpack-doesnt-output-bundlejs
With that I do have a bundle.js file at the root of the project.
Yet, I am not getting a web server to start at all. If I go to localhost:8080 manually the Scoreboard app is there but it doesn't reload on changes.
What am I missing here?
When I run npm start, here is the output:
$ npm start
> react-redux-course@1.0.0 prestart /Users/joshua/Code/react/react-redux-course
> npm run lint
> react-redux-course@1.0.0 lint /Users/joshua/Code/react/react-redux-course
> eslint ./src/**/*.{js, jsx} --fix
> react-redux-course@1.0.0 start /Users/joshua/Code/react/react-redux-course
> webpack-dev-server --progress --inline --hot
70% 1/1 build modules http://localhost:8080/
webpack result is served from /
content is served from /Users/joshua/Code/react/react-redux-course
Hash: 87afe624f84b3dc22c6e
Version: webpack 1.15.0
...
webpack: Compiled successfully.
But the web server doesn't start. When I change one of the player names and save, the project doesn't reload. Without this, I can't go any further.