livereload

Grunt livereload with node.js application

我与影子孤独终老i 提交于 2019-12-02 18:22:51
I have written an application in Node.js (with Express & socket.io) and I would like to use Grunt to compile my client-side stuff with livereload while developing and being connected to Node.js application. How can I do this? (Preferably without running Node.js app in another port and client in another port, because of pathing and cross-domain issues) I installed also Yeoman and it's using out of the box grunt-contrib-livereload package, but from what I understood it's using Node.js Connect server for serving client-side files, thus being separated from my Node.js application.. Example from

How can I get Grunt/Watch/LiveReload to reload Sass/CSS without a full page refresh?

懵懂的女人 提交于 2019-12-02 15:51:13
So far, I've gotten everything working how I want (which is monitoring all the files I want and refreshing whenever there is a change), other than I'd love to be able to make modifications to Sass/CSS and have it refresh in the browser without a page load. It's not a huge deal, but sometimes I'm trying to modify the style of something after there's been some page interaction and I have to go through the process all over again if the page refreshes. I'm fairly certain this is possible, but it eludes me so far. Here's my Gruntfile.js : module.exports = function(grunt) { // Project configuration.

How to enable Live Reload in iOS Device running React Native app?

十年热恋 提交于 2019-11-30 17:35:25
I'm trying to enable Live Reload mode, but there is no such item in Dev Menu: You have this problem is mainly because your device and your development machine is not in the same LAN. check if it is. Make sure your computer and your device connected in the save LAN, everything will be ok. After all ur devices connected to the same LAN. And if u are using Xcode. Close the React Native packager (or just close the terminal window) Delete the app in your iOS device Clean Xcode project. Run command npm start -- reset-cache Then everything will be OK. You need to edit the source for jsCodeLocation

How to enable Live Reload in iOS Device running React Native app?

拜拜、爱过 提交于 2019-11-30 16:46:00
问题 I'm trying to enable Live Reload mode, but there is no such item in Dev Menu: 回答1: You have this problem is mainly because your device and your development machine is not in the same LAN. check if it is. Make sure your computer and your device connected in the save LAN, everything will be ok. After all ur devices connected to the same LAN. And if u are using Xcode. Close the React Native packager (or just close the terminal window) Delete the app in your iOS device Clean Xcode project. Run

How can I get node-sass watch and live reload to work from a single NPM script?

你离开我真会死。 提交于 2019-11-30 14:40:45
Taking the following scripts section from a package.json : "scripts":{ "sass:watch": "npm run sass -- -w ./src/public/stylesheets -r --source-map true", "livereload": "live-reload --port 9091 ./src/**/*", "dev:watch" : "npm run sass:watch; npm run livereload" } How can I successfully get both the sass:watch and livereload tasks to run, without blocking each other, from the dev:watch task? Currently, when I run npm run dev:watch sass:watch blocks livereload . If I reorder them, the same problem occurs. Ryan Metin Use parallelshell . Here's how I'm doing it. With live-server it'll look like:

gulp.js livereload with express server?

谁说胖子不能爱 提交于 2019-11-30 03:19:23
I am trying to setup my gulpfile.js to use livereload on an express server without much luck. I see examples out there but they seem to be related to a static file server. http://code.tutsplus.com/tutorials/gulp-as-a-development-web-server--cms-20903 http://rhumaric.com/2014/01/livereload-magic-gulp-style/ So I have an app.js file which does the standard express server with jade files, etc. What I want to do is get it to work with livereload from a gulp.js boot. app.set('port', process.env.PORT || 3000); var server = app.listen(app.get('port'), function() { debug('Express server listening on

live-reload not working with ember-cli

∥☆過路亽.° 提交于 2019-11-29 16:45:21
ember new foo-proj cd foo-proj ember s Now the server is running. But when I edit a file e.g foo-proj/app/index.html live-reload does not reload ! I'm running: node v0.10.31 npm 1.4.23 I've been asking around on the #ember-cli channel but no luck. I seem to be the only one with this problem. Timo Finally got live-reload working . I had to do some rigorous stuff though which does unfort not explain what the problem was. I resolved the issue by completely removing node and npm and then reinstalling it by running brew install node @wenincode pointed me to a link to uninstall node and a link to

Live reload with Asp.Net 5

醉酒当歌 提交于 2019-11-29 08:08:29
问题 In Asp.Net 5 the development is faster because it compiles on save. But I still have to refresh the browser manually. Is there a live reload option in Visual Studio, or should I use a gulp plugin for that? 回答1: You can enable BrowserLink and while editing your code hit Ctrl+Alt+Enter to cause the browsers to refresh automatically. Alternatively you can hit the browser link refresh button in the Visual Studio ToolBar. public void Configure(IApplicationBuilder application) { // Only enable

gulp.js livereload with express server?

早过忘川 提交于 2019-11-29 00:58:52
问题 I am trying to setup my gulpfile.js to use livereload on an express server without much luck. I see examples out there but they seem to be related to a static file server. http://code.tutsplus.com/tutorials/gulp-as-a-development-web-server--cms-20903 http://rhumaric.com/2014/01/livereload-magic-gulp-style/ So I have an app.js file which does the standard express server with jade files, etc. What I want to do is get it to work with livereload from a gulp.js boot. app.set('port', process.env

How do I install LiveReload on Sublime Text 3?

a 夏天 提交于 2019-11-28 16:45:02
I'm using Sublime Text 3 and want to use LiveReload . I have a browser plugin for Chrome already installed. Node.js is also installed. For Sublime Text 3 Live Reload this plugin must be installed: https://github.com/dz0ny/LiveReload-sublimetext2 How can I install it on Windows 7? It just says something about Linux and OSX users. Roshan Poudyal Platform I used: Linux Mint 17+ I want to thank http://anthozano.fr/livereload-pour-sublime-text-3/ . I was able to run live reload on sublime text 3 with the instructions in the website. However, the website is written in French (i believe - Google