Open ev45ive opened 9 years ago
I need my app to run localy on exact the same address and port as a production (I have my /etc/hosts/ fixed to use local adress), but when I change connect port to 80 or 8080 livereload script is not injected. Why is it so?
my gruntfile:
watch: { options: { livereload: 35729 }, livereload: { files: ['<%= jshint.files %>'], options: { livereload: 35729, }, } }, connect: { options: { port: 80, hostname: '0.0.0.0', //index: 'index.html', livereload: 35729, bases: [__dirname], }, grunt.registerTask('serve', function (target) { grunt.task.run([ 'connect', 'watch:livereload' ]); });
I know using ports below 1024 needs privelages, but why injection doesnt work?
I need my app to run localy on exact the same address and port as a production (I have my /etc/hosts/ fixed to use local adress), but when I change connect port to 80 or 8080 livereload script is not injected. Why is it so?
my gruntfile: