Livereload不能使用Ionic服务命令

时间:2017-04-13 22:15:01

标签: ionic-framework

我跑:

 ionic serve
 ✗ (node:7616) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
Running dev server: http://localhost:8100
Running live reload server: http://localhost:35729
Watching : [ 'www/**/*', '!www/lib/**/*' ]
Ionic server commands, enter:
  restart or r to restart the client app from the root
  goto or g and a url to have the app navigate to the given url
  consolelogs or c to enable/disable console log output
  serverlogs or s to enable/disable server log output
  quit or q to shutdown the server and exit

我的chrome启动了livereload激活 enter image description here

我的源代码包含

<script>//<![CDATA[
document.write('<script src="//' + (location.hostname || 'localhost') + ':35729/livereload.js?snipver=1"><\/script>')
//]]></script>

IOnic检测到文件中的更改:

ionic $ JS changed:   C:\Users\Proxymis\Desktop\ionic\Monuma\www\js\controllers.js
JS changed:   C:\Users\Proxymis\Desktop\ionic\Monuma\www\js\controllers.js

当我在端口35729上打开本地主机时,我得到了

{"tinylr":"Welcome","version":"0.0.5"}

但是当我修改我的页面时,我的页面永远不会重新加载!

0 个答案:

没有答案