Yogesh Chavan
1 min readJul 8, 2020

--

@deadduck169 I think you have a type. You have written the filename as modemon.config.js and running it as nodemon index.js --config nodemon.config.js. I tried what you're doing it worked for me. Nodemon restarted and I saw the changes after reloading the page in browser.

Also note that, as we have added app.use(express.static('public')); in index.js file, when you access http://localhost:5000/ you will always get the index.html from build folder rendered

--

--

Yogesh Chavan
Yogesh Chavan

Responses (2)