Questions tagged [grunt-concurrent]

18 questions
4
votes
0 answers

grunt-concurrent and handling SIGINT

I'm struggling to understand behavior I'm seeing when using grunt-concurrent and trying to handle SIGINT, and hope someone can shed some light on it. Basically: when I use a SIGINT handler within my function(grunt) { } declaration, why does only one…
delfuego
  • 14,085
  • 4
  • 39
  • 39
3
votes
1 answer

how to use grunt concurrent module?

i am using grunt concurrent grunt.initConfig({ concurrent: { options: { logConcurrentOutput: true }, prod: { tasks:…
Angu
  • 862
  • 2
  • 13
  • 32
2
votes
2 answers

Running grunt "concurrent:test" Aborted due to warnings

I'm using a Yeoman angular generator and when I run this code I get grunt exiting with a warning. I'm running inside debian wheezy and have run these commands before running grunt: sudo apt-get install ruby && sudo gem install sass compass…
Nikos
  • 7,295
  • 7
  • 52
  • 88
2
votes
1 answer

Grunt - lint only modified files using grunt-newer

I'm running a Grunt task that uses Concurrent to run both Nodemon and Watch/Livereload. On default load, I lint and launch Concurrent. I would also like to set up a Watch to lint individual files on change. Currently, all files are linted when any…
arami
  • 593
  • 2
  • 6
  • 19
2
votes
4 answers

Grunt: `contrib-watch` Fire livereload event after `grunt-nodemon` has restarted when server-side `.coffee` files are compiled

I've been having an issue with Grunt.js and a few plugins, notably: grunt-contrib-watch, grunt-nodemon and grunt-contrib-coffee. I've been trying to figure this out for two days now but I don't think my knowledge of Grunt is sufficient to solve it…
razorbeard
  • 2,924
  • 1
  • 22
  • 29
2
votes
1 answer

splitting grunt watch tasks

So I have 5 grunt-contrib-watch tasks: sass to compile sass files testConcat to concat tests implementationConcat to concat implementation files for testing templates to precompile handlebars templates karma to kick off karma test runs I know…
Matt Briggs
  • 41,224
  • 16
  • 95
  • 126
1
vote
1 answer

It's possible to hide the grunt-contrib-watch log?

Using the grunt-contrib-watch with grunt-concurrent I want to hide/ignore only the watch log when one or more files are changed. Something like this: >> File "karma/lcov-report/login/Login.js.html" changed. >> File…
1
vote
2 answers

How to prevent grunt-nodemon from restarting all apps

I'm running node on Windows 10. I have three node apps and I want to be able to start them all up with one handy grunt command. Furthermore, I want node to automatically restart if I modify any of the apps. I'm using a combination of grunt-nodemon…
d512
  • 32,267
  • 28
  • 81
  • 107
1
vote
0 answers

Grunt - nodemon + watch

i'm new to grunt so i'm guessing i'm doing something simple really wrong. I'm using angular-client-side-auth for my single page app and i wanted to add grunt-contrib-sass and grunt-contrib-watch into Gruntfile.js. Here's the problem, when i start…
1
vote
1 answer

Grunt-concurrent Loops on Failed Task

I've got an interesting problem with Grunt-Concurrent. When a registered task such as Uglify or Karma runs without errors everything is fine. But if Uglification or Karma tests fail then Grunt-Concurrent will continuously loop until the error is…
Fernker
  • 2,238
  • 20
  • 31
1
vote
1 answer

Grunt concurrent tasks overwrite logging from other tasks

I've come across an interesting issue where it appears that certain grunt tasks that write to the terminal during the task seem to overwrite one another when run concurrently. For instance: I'm trying to concurrently run two tasks, one for unit…
Mik Cox
  • 300
  • 2
  • 11
0
votes
0 answers

Grunt: how to set env variables in the parent Grunt process, so child processes spawned by grunt-concurrent can access them

I am using Grunt, and specifically, the grunt-concurrent plugin, which takes a list of tasks to run concurrently, and spawns concurrent child processes for each of those tasks. (Note: it is a requirement for me on this project to use…
0
votes
1 answer

Infinite loop when running grunt-concurrent with 'nodemon' and 'watch' tasks

I am attempting to use the grunt-concurrent task to run grunt-nodemon to watch my js scripts and concurrently use watchto still concat and uglify my files when they change as well. When I run grunt on the command line I get the following infinite…
0
votes
1 answer

Grunt: How do I run seperate processes for CSS and JS

As you can see I have tasks for CSS ['sass:main'] and for JS ['jshint:main', 'concat:main', 'uglify:main'], but I want to do separate tasks for separate files (JS and CSS) and listen for changes (watch). Can someone point me in the correct…
0
votes
1 answer

How to combine multiple watch tasks for different compass tasks in Grunt

We are having some problems finetuning our Grunt setup. Our current project setup is like this. We have a Themes folder, in that themes folder there are different themes that all hold their own SCSS files and other bits related to that theme. Our…
1
2