livereload

ember cli and livereload: how to get it to work?

微笑、不失礼 提交于 2019-12-07 00:31:38
问题 I can't for the life of me get livereload to work with my ember cli project. This is the first time I try livereload, so I don't know if this problem is specific to ember cli, or if my Mac environment is not set up for it. Here is what I have installed $ ember --version: version: 0.0.46 node: 0.10.32 npm: 1.4.27 Here is how I got everything running: $ ember new foo-bar $ cd foo-bar $ ember server version: 0.0.46 Livereload server on port 35729 Serving on http://0.0.0.0:4200 Navigating to http

Ionic4 capacitor android livereload?

回眸只為那壹抹淺笑 提交于 2019-12-06 11:58:05
Is there posibility to run ionic4 app with capacitor on android device with livereload? I was looking for answear for a few hours now without a luck. Please help. You can do it by adding the server object to the capacitor.config.json file, just use the url of your live reload server "server": { "url": "http://192.168.1.33:8100" } You can use the ionic cli for this: ionic capacitor run android --livereload For example. Source: https://ionicframework.com/docs/cli/commands/capacitor-run You can use the following command to livereload without specifying the IP address: ionic capacitor run android

Grunt Watch Fatal error: listen EACCES and livereload

徘徊边缘 提交于 2019-12-06 09:45:09
问题 PC Specs: Windows 7 Enterprise x64 I'm running grunt.js on a project and recently started receiving an error when attempting to run 'grunt watch'. Grunt worked fine yesterday but today I started seeing: Running "watch" task Waiting...Fatal error: listen EACCES I read another question here: Cloud 9 and Grunt.js that lead me to remove 'options: {livereload: true}' from Gruntfile.js running watch again works as intended. Is there a way to reconfigure grunt or livereload to get livereload working

Clojure live browser reload on Linux

心已入冬 提交于 2019-12-06 03:38:35
问题 Is there something like Rack-LiveReload that could be used along with a tool like Guard-LiveReload for Clojure development? I really cannot make do without live reloading now that I have used it. If there is nothing more convenient I could download the LiveReload JS file and manually include it in my app and use that with Guard-LiveReload, but I would prefer it if there was an all Clojure solution. I cannot install the LiveReload app on my machine because I am using Linux, so that is why I

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

≯℡__Kan透↙ 提交于 2019-12-06 01:13:34
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 (--> https://stackoverflow.com/search?q=flask+auto+reload ). J just want a simple browser refresh. I googled and

Fastest way to compile SCSS (Compass) + refresh the browser?

夙愿已清 提交于 2019-12-05 21:11:47
问题 Just wondering what in your opinion is the fastest way to have your SCSS compiled and browser refreshed? I'm currently using LiveReload, but it seems to be a bit slow sometimes, it can take from 1-3sec. It doesn't seem much, but I feel like I'm losing my proper coding pace. What do you guys use? would CodeKit be faster? Or maybe Sublime LiveReload plugin (not the actual app)? Or maybe I should give up Compass and use something else? Any suggestions would be appreciated. PS. I'm on OS X 回答1: I

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

拟墨画扇 提交于 2019-12-05 20:55:24
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: true, spawn: false, }, files: [assetsDir + '/**/*.{dev,min}.{css,js}'], }, }, At the moment the

Does Sublime Text support live editing of CSS/SASS files?

≡放荡痞女 提交于 2019-12-05 18:39:40
问题 Does Sublime Text support live editing of files? I'm looking for a better workflow. I really like Sublime Text, but recently I've been spoiled by the "Live Editing" capabilites of tools like Codepen.io and (recently tested) Adobe Brackets. When I go back to Sublime, even Live Reload seems clunky in comparision. Live Reload: Press Save To Preview.. I'm using the LiveReload Chrome plugin, and depending on the project (Ruby or JS) I'll use Guard or Grunt to watch system files. I like LiveReload.

Wrong CSS Path - Live Reload issue with Grunt

ぃ、小莉子 提交于 2019-12-05 18:20:52
问题 I have this setup in my Gruntfile.js module.exports = function(grunt) { grunt.initConfig({ less: { development: { options: { compress: false, yuicompress: false, optimization: 0 }, files: { // target.css file: source.less file "assets/css/main.css": "assets/css/main.less" }, } }, watch: { styles: { // Which files to watch (all .less files recursively in the less directory) files: ['assets/css/*.less', 'assets/less/*.less'], tasks: ['less'], }, // Live reload CSS css: { files: ['assets/css/*

Gulp to watch when node app.listen() is invoked or to port (livereload, nodejs and gulp)

╄→гoц情女王★ 提交于 2019-12-05 17:39:44
I am trying to get gulp-livereload to work with my nodejs server. I am using gulp-nodemon to restart the server after changes to the files, this works. I am having trouble invoking livereload.reload() at the correct time. I am currently invoking livereload.reload() on the .on('start'... in my gulpfile.js (whenever my nodemon starts a script). This works but it takes a few seconds. The reason is when nodemon starts to run the nodejs script it invokes livereload.listen() before the script has invoked app.listen(port) , so my browser refreshs without the server being ready. Is there a way to