how to stop using livereload.js in my MEAN app

核能气质少年 提交于 2019-12-11 20:50:39

问题


I have moved my dev MEAN app from my laptop onto Azure. I have set off of grunt's livereload flags to false, but, livereload.js is still being loaded, and its absolutelly killing me! It take like 30 seconds(!) waiting for livereload.js Is there a way to get rid of it altogether?


回答1:


Steps to fully remove livereload in your app if running in development mode:

  1. Disable it in gruntfile by giving options.livereload = false for your watch task.
  2. Uncomment the script request from your html file. In your case, livereload is being requested by app/views/layout.server.view.html.


来源:https://stackoverflow.com/questions/30585215/how-to-stop-using-livereload-js-in-my-mean-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!