livereload

Grunt Connect , Nodemon same port issue

别等时光非礼了梦想. 提交于 2019-12-12 03:33:51
问题 I am trying to run angular admin template and node server by grunt and nodemon.All runs well..Problem is when i try to send any request from client-side to server-side its showing 404 error. For both i am using same port which is 2300. If i change the port number of server.js then it returns result..I can not run them by same port. I am sending request http://localhost:2300/test Here is my Gruntfile : // Generated on 2015-01-21 using generator-angular 0.9.2 'use strict'; // # Globbing // for

add livereload to broccoli

南楼画角 提交于 2019-12-11 12:12:55
问题 I'm trying to add livereload to broccoli Unfortunately the live-reload plugin documentation is a bit short and I cannot get it to work. In the docs it is stated to do the following: var injectLivereload = require('broccoli-inject-livereload'); var public = injectLivereload('public'); I figured that this should be placed inside the Brocfile.js (right?). But whatever I do nothing gets reloaded (I have to hit reload to refresh) I've also changed the 'public' part, which I think is representing a

How can you get Grunt livereload to work inside Docker?

自作多情 提交于 2019-12-10 23:18:39
问题 I'm trying to use Docker as a dev environment in Windows. The app I'm developing uses Node, NPM and Bower for setting up the dev tools, and Grunt for its task running, and includes a live reload so the app updates when the code changes. Pretty standard. It works fine outside of Docker but I keep running into the Grunt error Fatal error: Unable to find local grunt. no matter how I try to do it inside Docker. My latest effort involves installing all the npm and bower dependencies to an app

ionic run browser --livereload not working

家住魔仙堡 提交于 2019-12-10 02:38:07
问题 i was trying to use live reload on my ionic 2 application. so i found this command ionic run browser --live-reload is not working as expected and while making code changes i am receiving console messages [16:12:47] build started ... [16:12:47] transpile update started ... [16:12:47] transpile update finished in 46 ms [16:12:47] deeplinks update started ... [16:12:47] deeplinks update finished in 248 ms [16:12:47] webpack update started ... but the page isn't reloading 回答1: i found the

Disable / turn off LiveReload server in Emberjs / Ember-cli

China☆狼群 提交于 2019-12-10 00:39:57
问题 I use Cloud9 IDE, which only exposes port 80 and prevents LiveReload from connecting. I get this error: GET https://myapp.c9.io:35729/livereload.js?snipver=1 net::ERR_CONNECTION_REFUSED Unless someone knows of a fix, I'd like to simply turn this feature off / disable it. I'm running Ember-cli and I can see the task in ember-cli/lib/tasks/serve.js and I've commented it out, but it didn't do the trick: /* var liveReloadServer = new LiveReloadServer({ ui: this.ui, analytics: this.analytics,

Gulp JS with live reload - what gets reloaded

核能气质少年 提交于 2019-12-08 10:44:04
问题 I am testing Livereload with gulp.js and the Chrome extension for livereload. My gulpfile.js // gulpfile.js var gulp = require('gulp'), livereload = require('gulp-livereload'); gulp.task('watch', function() { var server = livereload(); gulp.watch(['dist/**']).on('change', function(file) { server.changed(file.path); }); }); In the dist folder, there are 5 files index.html (main page) app.css (css linked from index.html) app.js (javascript linked from index.html) include.html (angularjs partial

Grunt.js: Fire livereload as soon a files are modified, before task completes

ⅰ亾dé卋堺 提交于 2019-12-07 13:44:52
问题 I'm using Grunt to compile my CSS with compass and trigger the browser livereload. These are my watch tasks: watch: { styles: { options: { spawn: false, }, files: [assetsDir + '/**/*.scss', '!**/*.{dev,min}.scss'], tasks: [ 'concat:styles', 'compass:styles', 'imagemin:styles', 'cssmin:styles', 'clean:styles', ], }, scripts: { options: { spawn: false, }, files: [assetsDir + '/**/*.js', '!**/*.{dev,min}.js'], tasks: [ 'concat:scripts', 'uglify:scripts', ], }, livereload: { options: { livereload

How to automate browser refresh when developing an Flask app with Python?

假如想象 提交于 2019-12-07 13:11:32
问题 I've started learning Flask to develop web applications. What I am realy missing is an automatic Browser refresh after any code change (including static files, templates, etc.). This seems to be a standard feature in almost any Javascript framework. Frontend people have several terms for that: auto reload / refresh, hot reload / refresh (hotreload), live reload / refresh (livereload), ... Here on Stackoverflow most similar questions are related to the auto-reload of the Flask server (-->

Live reload is not working with Ionic serve command

早过忘川 提交于 2019-12-07 05:59:39
问题 As per the Ionic Guide Chapter 4 http://ionicframework.com/docs/guide/testing.html, ionic serve will start a live reload server, which it does in my case, but reload is not happening. Is there any pre-req we need to have for this thing to work? Like say live reload chrome extension? E:\Ionic\myapp>ionic serve Running dev server: http://localhost:8100 Running live reload server: http://localhost:35729 回答1: Here is what worked for me: stop ionic service if you running it 'q' command run: ionic

Disable LiveReload with Yeoman

一个人想着一个人 提交于 2019-12-07 03:26:51
问题 When testing in IE8, LiveReload throws errors since web sockets is not supported. Is there a way to configure yeoman to disable LiveReload? 回答1: IE8 isn't supported by Yeoman, for good reason. However, you could do what Allan describes, or you could override the server task, by putting this in your Gruntfile: grunt.registerTask('server', 'yeoman-server'); 回答2: Try to use <!--[if !IE]><!--></body><!--<![endif]--><!--[if IE]></body><!--<![endif]--> instead of </body> . Generator would try to