{"action":"created","issue":{"url":"https://api.github.com/repos/makevoid/guard-concat/issues/10","labels_url":"https://api.github.com/repos/makevoid/guard-concat/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/makevoid/guard-concat/issues/10/comments","events_url":"https://api.github.com/repos/makevoid/guard-concat/issues/10/events","html_url":"https://github.com/makevoid/guard-concat/issues/10","id":100564660,"number":10,"title":"Files not being watched when input dir is \".\"","user":{"login":"paulozoom","id":69427,"avatar_url":"https://avatars.githubusercontent.com/u/69427?v=3","gravatar_id":"","url":"https://api.github.com/users/paulozoom","html_url":"https://github.com/paulozoom","followers_url":"https://api.github.com/users/paulozoom/followers","following_url":"https://api.github.com/users/paulozoom/following{/other_user}","gists_url":"https://api.github.com/users/paulozoom/gists{/gist_id}","starred_url":"https://api.github.com/users/paulozoom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulozoom/subscriptions","organizations_url":"https://api.github.com/users/paulozoom/orgs","repos_url":"https://api.github.com/users/paulozoom/repos","events_url":"https://api.github.com/users/paulozoom/events{/privacy}","received_events_url":"https://api.github.com/users/paulozoom/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/makevoid/guard-concat/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-12T15:03:00Z","updated_at":"2015-08-12T15:07:34Z","closed_at":null,"body":"I have the following config:\r\n\r\n```ruby\r\nguard 'concat',\r\n  type:         \"js\",\r\n  input_dir:    \".\",\r\n  output:       \"public/main\",\r\n  verbose:      true,\r\n  all_on_start: true,\r\n  files: [\r\n    \"bower_components/jquery/dist/jquery\",\r\n    \"bower_components/jplayer/dist/jplayer/jquery.jplayer\",\r\n    \"assets/javascripts/*\"\r\n  ]\r\n```\r\n\r\nThis is my file structure:\r\n\r\n```\r\n.\r\n├── Guardfile\r\n├── assets\r\n│   ├── javascripts\r\n│   └── stylesheets\r\n├── bower_components\r\n│   ├── jplayer\r\n│   ├── jquery\r\n└── public\r\n    ├── main.css\r\n    └── main.js\r\n```\r\n\r\nHowever, when I change `assets/javascripts/whatever.js`, `guard-concat` doesn't process the file, it's as if nothing changed. Am I suppose to explicitly declare which files the plugin should watch?"},"comment":{"url":"https://api.github.com/repos/makevoid/guard-concat/issues/comments/130336271","html_url":"https://github.com/makevoid/guard-concat/issues/10#issuecomment-130336271","issue_url":"https://api.github.com/repos/makevoid/guard-concat/issues/10","id":130336271,"user":{"login":"paulozoom","id":69427,"avatar_url":"https://avatars.githubusercontent.com/u/69427?v=3","gravatar_id":"","url":"https://api.github.com/users/paulozoom","html_url":"https://github.com/paulozoom","followers_url":"https://api.github.com/users/paulozoom/followers","following_url":"https://api.github.com/users/paulozoom/following{/other_user}","gists_url":"https://api.github.com/users/paulozoom/gists{/gist_id}","starred_url":"https://api.github.com/users/paulozoom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulozoom/subscriptions","organizations_url":"https://api.github.com/users/paulozoom/orgs","repos_url":"https://api.github.com/users/paulozoom/repos","events_url":"https://api.github.com/users/paulozoom/events{/privacy}","received_events_url":"https://api.github.com/users/paulozoom/received_events","type":"User","site_admin":false},"created_at":"2015-08-12T15:07:33Z","updated_at":"2015-08-12T15:07:33Z","body":"@makevoid Thanks! If, say, I made it so `bower_components` were placed inside `assets`, setting `input_dir: assets` (and other subsequent config changes), that would work, I suppose."}}