问题
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
.
来源:https://stackoverflow.com/questions/30585215/how-to-stop-using-livereload-js-in-my-mean-app