greengerong / rebirth

GreenGerong(破狼) blog with Angular4.
https://greengerong.github.io/rebirth
MIT License
356 stars 118 forks source link

使用rebirth新版,如何查看效果 #16

Closed tancolo closed 8 years ago

tancolo commented 8 years ago

破狼,你好。 更新你的代码,npm install后,打开浏览器查看不到效果。 我执行步骤如下:

按照其中的提示,打开http://localhost:8000/, 浏览器找不到网页。还请在READ.md中说明下,如何实时查看修改后的效果。

Server start at: 'http://localhost:8000

$ npm run jit

> rebirth@0.0.1 jit E:\Project_Dev\Angularjs2\rebirth
> npm run run-parallel mock ng-jit

> rebirth@0.0.1 run-parallel E:\Project_Dev\Angularjs2\rebirth
> npm-run-all --parallel "mock" "ng-jit"

> rebirth@0.0.1 mock E:\Project_Dev\Angularjs2\rebirth
> node ./build/mock-server.js

> rebirth@0.0.1 ng-jit E:\Project_Dev\Angularjs2\rebirth
> ng serve

[19:47:36] Stubby HTTP server listening on port 8000
[19:47:36] Stubby HTTPS server listening on port 8443
[19:47:36] Admin server listening on port 8010
Server start at: 'http://localhost:8000                                                                         10708ms15ms ad02053ms 138ms asset63ms emittingHash: 605c9f17289906f66e22
Version: webpack 2.1.0-beta.25
Time: 13378ms
                                 Asset     Size  Chunks             Chunk Names
                            0.chunk.js  1.78 MB    0, 4  [emitted]
  f4769f9bdb7466be65088239c12046d1.eot  20.1 kB          [emitted]
  674f50d287a8c48dc19ba404d20fe713.eot   166 kB          [emitted]
  912ec66d7572ff821749319396470bde.svg   444 kB          [emitted]
  e18bbf611f2a2e43afc071aa2f4e1512.ttf  45.4 kB          [emitted]
 fa2772327f55d8198301fdb8bcfc8158.woff  23.4 kB          [emitted]
448c34a56d699c29117adc64c43affeb.woff2    18 kB          [emitted]
  b06871f281fee6b241d60582ae9369b9.ttf   166 kB          [emitted]
af7ae505a9eed503f8b8e6982036873e.woff2  77.2 kB          [emitted]
 fee66e712a8a08eef5805a46892932ad.woff    98 kB          [emitted]
  89889688147bd7575d6327160d64e760.svg   109 kB          [emitted]
                            1.chunk.js   114 kB    1, 4  [emitted]
                        main.bundle.js  3.33 MB    2, 4  [emitted]  main
                      styles.bundle.js   247 kB    3, 4  [emitted]  styles
                      inline.bundle.js  5.54 kB       4  [emitted]  inline
                          0.bundle.map  2.16 MB    0, 4  [emitted]
                          1.bundle.map   113 kB    1, 4  [emitted]
                       main.bundle.map  3.44 MB    2, 4  [emitted]  main
                     styles.bundle.map   329 kB    3, 4  [emitted]  styles
                     inline.bundle.map   5.6 kB       4  [emitted]  inline
                            index.html  2.94 kB          [emitted]
Child html-webpack-plugin for "index.html":
         Asset     Size  Chunks       Chunk Names
    index.html  5.52 kB       0
webpack: bundle is now VALID.
[default] Checking started in a separate process...
[default] Ok, 1.759 sec.
greengerong commented 8 years ago

http://localhost:4200/blog/home, 8000 是mock 后端server的端口