-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Grunt watch not working with Brackets #9884
Comments
Mac, Windows or Linux? Live preview shouldn't make a difference. I wonder if file watching in Brackets is causing any issues. What version of node and grunt are you using? |
Sorry for the missing information. I am on a MacBook Pro with Yosemite. Grunt is "~0.4.1", watch is "^0.6.1" and node is on "v0.10.31". |
Just tried it on another computer at my job, also doesn't work there. What a pity. :( I'd really love to use Brackets, but if it doesn't work with Grunt watch, it's rather useless for me (and probably others). Live Preview is no substitute, because it doesn't work with Sass yet. |
Just tried it with Grunt BrowserSync and there it works. |
@edge0703 Hmm, other people definitely have successfully used Grunt watchers in conjunction with Brackets. It's hard to imagine how Brackets could be at fault here, since all we do is use the regular OS APIs to write to the file. Some questions, though:
|
I use grunt-contrib-watch everyday, no problem. |
@edge0703 Two other questions:
|
Actually it works now, don't know what the problem was. Did everything the same as last time, but when I opened Brackets it suddenly works now. However thanks for all of your help. |
@edge0703 I assume you are working on OSX. Do you recall the full path to your project folder? I'm just curious, because I found some issue with the way we decided if a path is local or remote. In the case that the path is considered remote, no file watching would be turned on. Could be totally unrelated, but I'm just curious. :-) |
Does anybody know why Grunt watch isn't working when I save a file inside of Brackets? It seems as if the files don't get changed at all.
Does it have to do with Live Preview?
For example: I open _main.scss in Sublime Text 3, I save it there, grunt watch recognizes the change and compiles the file.
If I open the scss file in Brackets and save it, nothing happens in the command line with grunt watch. Also doesn't work with JS or PHP files.
The text was updated successfully, but these errors were encountered: