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?
Asked
Active
Viewed 1,058 times
0
-
Can you show your grunt file? – Vageesh Bhasin Jun 02 '15 at 00:05
-
Here is the gruntfile: https://gist.github.com/eugene-goldberg/c99d4d62fe3f96e73e65 – Eugene Goldberg Jun 02 '15 at 00:07
-
Did you remove/uncomment the livereload script tag from your index.html? – Vageesh Bhasin Jun 02 '15 at 00:16
-
my app is based on mean.js boiler plate. all assets are defined in the config/env/all.js file, but livereload.js is not listed there. – Eugene Goldberg Jun 02 '15 at 00:21
-
Livereload script is in `app/views/layout.server.view.html`. Uncomment it, so that it is not requested. – Vageesh Bhasin Jun 02 '15 at 00:26
-
brilliant! please, post as an answer. thank you! – Eugene Goldberg Jun 02 '15 at 00:29
-
Where can that be found in MEAN.js version 0.4.2? Is it possible to use livereload with gulp? – Pille Dec 29 '15 at 17:54
1 Answers
3
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
.

Vageesh Bhasin
- 553
- 2
- 12