{"action":"created","issue":{"url":"https://api.github.com/repos/pattern-lab/patternlab-node/issues/166","labels_url":"https://api.github.com/repos/pattern-lab/patternlab-node/issues/166/labels{/name}","comments_url":"https://api.github.com/repos/pattern-lab/patternlab-node/issues/166/comments","events_url":"https://api.github.com/repos/pattern-lab/patternlab-node/issues/166/events","html_url":"https://github.com/pattern-lab/patternlab-node/issues/166","id":111501530,"number":166,"title":"pattern states not working as documented","user":{"login":"ivancamilov","id":183745,"avatar_url":"https://avatars.githubusercontent.com/u/183745?v=3","gravatar_id":"","url":"https://api.github.com/users/ivancamilov","html_url":"https://github.com/ivancamilov","followers_url":"https://api.github.com/users/ivancamilov/followers","following_url":"https://api.github.com/users/ivancamilov/following{/other_user}","gists_url":"https://api.github.com/users/ivancamilov/gists{/gist_id}","starred_url":"https://api.github.com/users/ivancamilov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivancamilov/subscriptions","organizations_url":"https://api.github.com/users/ivancamilov/orgs","repos_url":"https://api.github.com/users/ivancamilov/repos","events_url":"https://api.github.com/users/ivancamilov/events{/privacy}","received_events_url":"https://api.github.com/users/ivancamilov/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-14T21:55:13Z","updated_at":"2015-10-15T02:21:25Z","closed_at":"2015-10-15T02:21:25Z","body":"According to [the docs](http://patternlab.io/docs/pattern-states.html), you should be able to define a pattern's state by setting it in the filename, ie changing `00-media-block.mustache` to `00-media-block@inprogress.mustache`.\r\n\r\nHowever, patternlab-node doesn't work as documented; instead, it has [a different way](https://github.com/pattern-lab/patternlab-node#pattern-states) to set states by changing the `config.json` file.\r\n\r\nShouldn't patternlab-node work as documented in patternlab.io?"},"comment":{"url":"https://api.github.com/repos/pattern-lab/patternlab-node/issues/comments/148258151","html_url":"https://github.com/pattern-lab/patternlab-node/issues/166#issuecomment-148258151","issue_url":"https://api.github.com/repos/pattern-lab/patternlab-node/issues/166","id":148258151,"user":{"login":"bmuenzenmeyer","id":298435,"avatar_url":"https://avatars.githubusercontent.com/u/298435?v=3","gravatar_id":"","url":"https://api.github.com/users/bmuenzenmeyer","html_url":"https://github.com/bmuenzenmeyer","followers_url":"https://api.github.com/users/bmuenzenmeyer/followers","following_url":"https://api.github.com/users/bmuenzenmeyer/following{/other_user}","gists_url":"https://api.github.com/users/bmuenzenmeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/bmuenzenmeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmuenzenmeyer/subscriptions","organizations_url":"https://api.github.com/users/bmuenzenmeyer/orgs","repos_url":"https://api.github.com/users/bmuenzenmeyer/repos","events_url":"https://api.github.com/users/bmuenzenmeyer/events{/privacy}","received_events_url":"https://api.github.com/users/bmuenzenmeyer/received_events","type":"User","site_admin":false},"created_at":"2015-10-15T02:21:25Z","updated_at":"2015-10-15T02:21:25Z","body":"Not in every case. That documentation is officially for the PHP version. I know this is confusing. [There is actually a bunch of documentation](https://github.com/pattern-lab/website/tree/dev) in a different branch of the site, but it's unreleased. Brad and his brother are working on v2 of the site which will probably have the node documents. \r\n\r\nFor now, we are in a sort of limbo between the README and some stuff here: https://github.com/pattern-lab/website/tree/dev/patternlabsite/docs/node\r\n\r\nAlso, on principle... PL node doesn't do everything exactly the same way as PHP. Like I said, I hope to make this more clear in the future. Please do reach out with specific questions here on on twitter. I try to be rather transparent about what work is going on: https://github.com/pattern-lab/patternlab-node/issues/134"}}