Open
Description
Simply running a fresh yo angular-fullstack
build and editing a server file calls the watch on nodemon and takes over 6 seconds consistently to reload. It's taking longer obviously with any more code.
(In the output below, Note the Time:
I have highlighted)
Any tips on reducing this re-build time?
I was using the outdated non-webpack version of generator for a year or two, and the server re-loads were about twice this fast.
(My computer is an upgraded Dell XPS 15, so it's not the computer)
[nodemon] restarting due to changes...
[nodemon] starting `node server`
(node) crypto.createCredentials is deprecated. Use tls.createSecureContext instead.
(node) crypto.Credentials is deprecated. Use tls.createSecureContext instead.
Express server listening on 9000, in development mode
finished populating users
webpack done hook
Hash: 67e93013621412c6976b
Version: webpack 1.13.3
********************Time: 6468ms*********************
Asset Size Chunks Chunk Names
app.bundle.js 282 kB 0 [emitted] app
polyfills.bundle.js 210 kB 1 [emitted] polyfills
vendor.bundle.js 2.21 MB 2 [emitted] vendor
app.bundle.js.map 373 kB 0 [emitted] app
polyfills.bundle.js.map 271 kB 1 [emitted] polyfills
vendor.bundle.js.map 2.57 MB 2 [emitted] vendor
../client/index.html 1.39 kB [emitted]
Child html-webpack-plugin for "..\client\index.html":
Asset Size Chunks Chunk Names
../client/index.html 2.69 kB 0
webpack: bundle is now VALID.
[default] Checking started in a separate process...
SocketIO / [127.0.0.1:62611] CONNECTED
GET /api/things 200 47.338 ms - -
[BS] Proxying: http://localhost:9000
[BS] Access URLs:
-----------------------------------
Local: http://localhost:3000
External: http://10.0.0.135:3000
-----------------------------------
UI: http://localhost:3002
UI External: http://10.0.0.135:3002
-----------------------------------
[default] Ok, 1.428 sec.
generator-angular-fullstack | 4.1.1
Node | 6.2.2
npm | 3.9.5
Operating System | Windows 10
Transpiler Options:
TypeScript
Socket.io: Y
HTML
SCSS
ui-router
Mocha
MongoDB
Auth: Y (all)