invalidtoken
invalidtoken

Reputation: 109

Why do we need to restart an Express server to see changes on the browser?

Why do I have to restart my Express server every time I make a change in my Express code ? I want to know the internal working of express and is it same with other server side frameworks as well like Ruby on Rails?

Upvotes: 5

Views: 944

Answers (1)

pr0p
pr0p

Reputation: 2358

Your server code is complied by your computer. When you restart your server the code is recompiled to accommodate the new changes. All server codes run on the computer and once changed have to be recompiled and run.

Upvotes: 6

Related Questions