Hi,

I'd like to know which dev server is preferred to start angular2 
applications? The angular git repos currently contain three different 
approaches

- lite-server
- webpack-dev-server
- webpack + nodemon

Which server is more complete/performant? Are there any 
advantages/drawbacks?

I see lite-server has BrowserSync embedded, but webpack can have that too 
with a plugin. My impression (after a few short tests) was that lite-server 
seems to be slower and is sometimes less reactive compared to webpack. Can 
this be?


An overview:

https://github.com/angular/angular2-seed/blob/master/package.json

"start": "./node_modules/.bin/webpack-dev-server --inline --colors 
--progress --display-error-details --display-cached --port 3000 
--content-base src"

https://github.com/angular/quickstart/blob/master/package.json

      "start": "concurrently \"npm run tsc:w\" \"npm run lite\" ", "tsc:w": 
"tsc -w", "lite": "lite-server",

https://github.com/angular/universal-starter/blob/master/package.json

"start": "./node_modules/.bin/nodemon dist/server/bundle.js",

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to