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:
- Disable it in
gruntfile
by givingoptions.livereload = false
for your watch task. - Uncomment the script request from your html file. In your case, livereload is being requested by
app/views/layout.server.view.html
.