grunt-contrib-watch Questions

2

I have a problem with grunt-watch. When I use "grunt" in terminal outputs "Running "watch" task Waiting..." krp-arina@krparina-Lenovo-G555:~/server$ grunt Running "watch" task Waiting... krp-arina...
Inverse asked 31/3, 2015 at 14:39

2

I'm trying to use Grunt's grunt-contrib-watch plugin to watch some files and then run the tasks, just what it was made for, this is my Gruntfile.js module.exports = function(grunt){ grunt.initCon...
Mccord asked 28/8, 2016 at 6:45

5

I have some troubles with npm packages on my Windows workstation... I have a set of NPM dependencies in my package.json file: "devDependencies": { "babel-plugin-transform-react-jsx": "^6.2.0", ...
Hint asked 17/12, 2015 at 12:49

5

Solved

Grunt was working. But after moving my site's files up one directory, to sit at root, grunt stopped working: Fatal error: Port 35729 is already in use by another process. Would the path matter in...
Emblazonment asked 2/9, 2015 at 16:57

9

Solved

Is it possible to run two watch tasks simultaneously? I understand that I can have any number of tasks I want inside watch settings and just launch grunt watch and it will watch all of them, like ...
Irreclaimable asked 11/7, 2013 at 5:0

3

Solved

I have been trying to install Grunt. When I run grunt I receive the following list of messages and warnings: Local Npm module "grunt-contrib-copy" not found. Is it installed? Local Npm module "gru...

1

If I use Grunt Task Runner with grunt-shell, I'm not able to exit the grunt using ctrl-c [SIGINT]. grunt.registerTask('serve', [ 'less', 'autoprefixer', 'shell:hologram', // grunt-shell task '...
Tyrannosaur asked 7/10, 2014 at 20:36

3

I have a very annoying problem with gruntjs and grunt-contrib-watch plugin. After some time, I can not define, it may be half an hour or two hours of work (it's random) the console spits out this e...
Susceptible asked 3/1, 2014 at 11:53

4

Solved

I have been looking all over for an example of a way to use Grunt's watch module to perform a few steps in order when a file change occurs. I haven't found a good example of any of this, so if some...
Tales asked 4/11, 2015 at 1:52

1

You can view/clone the full code here: https://github.com/mlewisTW/grunt-tests I'd like to watch the src directory (to minify, concat, less, etc), which puts everything into the build dir. I'd als...
Premonition asked 8/9, 2014 at 20:56

3

Solved

I've got an issue with Grunt Watch currently not re-running tasks after compilation error correction. I get the error message, but then after correcting the error, grunt says the file has been cha...
Nadanadab asked 6/5, 2016 at 8:59

6

Solved

I'm running Lion 10.9.2 with nodejs v0.10.26 I want to setup an automated compilation on sass files and a live reload with grunt, nothing complicated but... When running grunt watch I get the fol...
Auston asked 9/3, 2014 at 18:5

3

Solved

I have this workflow: module.exports = function(grunt) { require('load-grunt-tasks')(grunt); // npm install --save-dev load-grunt-tasks grunt.initConfig({ sass: { options: { sourceMap: true...
Society asked 2/2, 2016 at 10:35

2

I was following the steps provided as on the web http://yeoman.io/. After doing with all the steps, i am facing this error message `$ grunt Loading "Gruntfile.js" tasks...ERROR Error: Cannot f...
Broyles asked 4/8, 2013 at 16:2

3

Solved

I have an Gruntfile written in CoffeeScript and I keep getting an (Error code: EISDIR) when the cssmin task is run. After running the task in verbose mode, I get this information: Running "cssmin"...
Eastlake asked 7/1, 2014 at 2:38

5

I'm trying to use livereload with watch. I keep getting the message "Fatal error: Port 35279 is already in use by another process" . I've changed the port for livereload but then nothing reloads. ...
Kyser asked 9/10, 2013 at 9:31

2

I have a project that uses GruntJS with grunt-contrib-sass, grunt-contrib-watch and grunt-newer. My main app.scss file imports a few .scss files with the @import directive like @import "common/...
Ectoderm asked 2/6, 2014 at 10:2

2

I'm running two simple tasks that run for <100ms each but when run under the watch command the two combined tasks are taking ~8 seconds in total (there seems to be an overhead of 3.5 seconds per...
Verbose asked 21/11, 2013 at 12:44

1

I have set up the grunt-contrib-watch task to copy a list of files to a "dist" directory every time I save one of the files of the "src" directory. Unfortunately it takes 7 to 9 seconds to accompli...
Incus asked 4/6, 2015 at 11:54

2

Solved

I'm struggling to get Grunt's "live reload" ability (as implemented in grunt-contrib-watch) to work in my app. I finally bit the bullet, and tried making a minimal example. Hopefully someone can ea...
Perdu asked 20/2, 2014 at 16:12

3

Solved

I am kinda new to grunt and want to use it with Jekyll and some LESS-compiling. My problem now is, I already have fully functioning LESS-comipiling with live reload and watch task and can build my...
Phenica asked 17/2, 2014 at 18:20

1

Solved

I have two directories src and compiled. I would like to ensure one-way data synchronization from src to compiled with Grunt Watch. As an intermediary step, I would like to compile *.less files as ...
Evangelin asked 1/9, 2015 at 2:14

1

Solved

I made Gruntfile.js like this: 'use strict'; module.exports = function (grunt) { grunt.loadNpmTasks('grunt-favicons'); grunt.loadNpmTasks('grunt-contrib-imagemin'); grunt.loadNpmTasks('grunt-bake...
Typist asked 28/7, 2015 at 14:32

2

I'm having trouble configuring Grunt to watch my project files, rebuild and update a page hosted in a connect server. If I run any of the build tasks and then 'watch' as part of a combined task, th...
Halibut asked 7/10, 2014 at 10:18

2

Solved

I am new to both Sails and grunt so I might be missing the obvious. I am trying to automatically refresh my sails app in the browser whenever files change. I start the app with sails lift and it ...

© 2022 - 2024 — McMap. All rights reserved.