grunt-contrib-watch icon indicating copy to clipboard operation
grunt-contrib-watch copied to clipboard

Grunt Watch doesn't trigger until terminal has focus

Open mserranom opened this issue 10 years ago • 4 comments

I have a grunt watch task that seems to be working with other devs on my team, and for the most part works for me. HOWEVER it only seems trigger when I click into the terminal containing the grunt task (giving the terminal window the OS window focus). The IDE losing focus is not an issue as I've clicked into a browser window and it still did not trigger.

In case it matters, I'm using OSX (Mavericks), IntelliJ IDEA 13.1.6 (also watching files to be placed on our dev server), Grunt 0.4.5, and grunt-contrib-watch 0.6.1.

mserranom avatar Jun 09 '15 16:06 mserranom

Same here, Ubuntu 16.04

manumena avatar Jul 20 '17 19:07 manumena

Same here on Ubuntu 17.04, running grunt default through npm, with the command start associated with grunt default in `package.json, like so:

"scripts": {
    ...
    "start": "grunt default",
    ...
  },

Terminal: urxvt-256 Window manager: i3-gaps

joelhoisko avatar Sep 08 '17 10:09 joelhoisko

Same here and massively painful. Has anyone found a workaround?

sdistefano avatar Feb 14 '18 22:02 sdistefano

Ubuntu 16.04 LTS and issue still exists. I have to run grunt tasks manually every time I change something.

ZissisT avatar May 04 '18 09:05 ZissisT