question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Don't clean on start?

See original GitHub issue

Not sure why we’re cleaning on npm start. ref

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
frenzzycommented, Jun 24, 2017

npm run build generates files for production, then you can deploy content of the build folder to production server. npm start generates files for development, they contain modules which are useful for development only and must not used in production. Both commands overwrite each other’s work, you must not use them together at the same time.

Maybe when webpack will add support for in memory hot module replacement for server side bundles, npm start script will not generate anything to the build folder.

0reactions
charyordecommented, Jun 24, 2017

+1 to public folder.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Dua Lipa - Don't Start Now (Clean With Lyrics + Visualizer)
Dua Lipa - Don't Start Now ( Clean With Lyrics + Visualizer)Thanks for watching! Subscribe for more and comment down below any song ......
Read more >
New Year's Day superstitions: Don't wash clothes - KIRO 7
Don't wash those clothes. This is an odd one. According to folklore, if you wash clothes on New Year's Day, you'll be “washing...
Read more >
Why is it bad luck to clean on New Year's Day? - Metro UK
Cleaning on New Year's Day is unlucky, but why? The traditions behind New Year superstitions on washing, sweeping, cleaning and laundry.
Read more >
New Year's Cleaning Superstitions from Around The World
Here are superstitions from around the world to help you attract good fortune and avoid bad luck on New Year's. 1. China. We'll...
Read more >
9 of the Most Interesting Cleaning Superstitions from Around ...
Sweeping at night is bad luck · Don't sweep over someone's feet · Don't bring an old broom into a new house ·...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found