{"action":"created","issue":{"url":"https://api.github.com/repos/fuse-box/fuse-box/issues/881","repository_url":"https://api.github.com/repos/fuse-box/fuse-box","labels_url":"https://api.github.com/repos/fuse-box/fuse-box/issues/881/labels{/name}","comments_url":"https://api.github.com/repos/fuse-box/fuse-box/issues/881/comments","events_url":"https://api.github.com/repos/fuse-box/fuse-box/issues/881/events","html_url":"https://github.com/fuse-box/fuse-box/issues/881","id":266700767,"node_id":"MDU6SXNzdWUyNjY3MDA3Njc=","number":881,"title":"Watch with glob not working?","user":{"login":"jmathew","id":1046234,"node_id":"MDQ6VXNlcjEwNDYyMzQ=","avatar_url":"https://avatars3.githubusercontent.com/u/1046234?v=4","gravatar_id":"","url":"https://api.github.com/users/jmathew","html_url":"https://github.com/jmathew","followers_url":"https://api.github.com/users/jmathew/followers","following_url":"https://api.github.com/users/jmathew/following{/other_user}","gists_url":"https://api.github.com/users/jmathew/gists{/gist_id}","starred_url":"https://api.github.com/users/jmathew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmathew/subscriptions","organizations_url":"https://api.github.com/users/jmathew/orgs","repos_url":"https://api.github.com/users/jmathew/repos","events_url":"https://api.github.com/users/jmathew/events{/privacy}","received_events_url":"https://api.github.com/users/jmathew/received_events","type":"User","site_admin":false},"labels":[{"id":507187716,"node_id":"MDU6TGFiZWw1MDcxODc3MTY=","url":"https://api.github.com/repos/fuse-box/fuse-box/labels/discussion","name":"discussion","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-10-19T02:27:29Z","updated_at":"2018-07-13T16:06:24Z","closed_at":null,"author_association":"NONE","body":"# Overview\r\nI'm trying to pass a glob to `watch` to a subdirectory in my home dir as described in the documentation. I make changes to the files in sub directory and it doesn't trigger a rebuild. \r\n\r\n## When it doesnt work\r\nI've tried multiple globs that all failed:\r\n```\r\n.watch(\"src/**\")\r\n.watch(\"src/**/*\")\r\n```\r\n\r\n## When it works\r\nWithout a glob it does work, however there is an infinite loop of rebuilding. I think thats because the generated output folder is in the same folder as described in another issue.\r\n\r\nIt also will work with a specific file name to watch such as 'index.html'.\r\n\r\nGlobs like `**` or `.` seem to work as well. \r\n\r\n\r\n\r\n\r\n\r\n# Versions\r\n**OS**\r\nmacOS 10.12.6 (16G29)\r\n\r\n**Fusebox Version**\r\n2.3.4-beta.7 (but also tested with the latest stable)\r\n\r\n\r\n# Research\r\nI made a project to hopefully demonstrate the issue.\r\n\r\nHere is a gist version: \r\nhttps://gist.github.com/jmathew/1d88228e1dba7e9625acc4a188e06977\r\n\r\nAnd a drive link:\r\nhttps://drive.google.com/file/d/0B1tPVng1LVFCT1RlVndGY2xJSVU/view?usp=sharing\r\n"},"comment":{"url":"https://api.github.com/repos/fuse-box/fuse-box/issues/comments/404878309","html_url":"https://github.com/fuse-box/fuse-box/issues/881#issuecomment-404878309","issue_url":"https://api.github.com/repos/fuse-box/fuse-box/issues/881","id":404878309,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNDg3ODMwOQ==","user":{"login":"nchanged","id":1629088,"node_id":"MDQ6VXNlcjE2MjkwODg=","avatar_url":"https://avatars1.githubusercontent.com/u/1629088?v=4","gravatar_id":"","url":"https://api.github.com/users/nchanged","html_url":"https://github.com/nchanged","followers_url":"https://api.github.com/users/nchanged/followers","following_url":"https://api.github.com/users/nchanged/following{/other_user}","gists_url":"https://api.github.com/users/nchanged/gists{/gist_id}","starred_url":"https://api.github.com/users/nchanged/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nchanged/subscriptions","organizations_url":"https://api.github.com/users/nchanged/orgs","repos_url":"https://api.github.com/users/nchanged/repos","events_url":"https://api.github.com/users/nchanged/events{/privacy}","received_events_url":"https://api.github.com/users/nchanged/received_events","type":"User","site_admin":false},"created_at":"2018-07-13T16:06:24Z","updated_at":"2018-07-13T16:06:24Z","author_association":"CONTRIBUTOR","body":"I think it's a good change! I was thinking of going for FuseBox 4.0 and introduce some breaking changes \r\n\r\nSo feel free to break things and make it rather consistent. If you do this please don't forget to update the documentation along with the list of breaking changes to share later "}}
{"actor":{"display_login":"nchanged"}}