{"action":"created","issue":{"url":"https://api.github.com/repos/tmux-plugins/tmux-resurrect/issues/44","labels_url":"https://api.github.com/repos/tmux-plugins/tmux-resurrect/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/tmux-plugins/tmux-resurrect/issues/44/comments","events_url":"https://api.github.com/repos/tmux-plugins/tmux-resurrect/issues/44/events","html_url":"https://github.com/tmux-plugins/tmux-resurrect/issues/44","id":43156793,"number":44,"title":"node-dev / restore functionality","user":{"login":"danschumann","id":1516973,"avatar_url":"https://avatars.githubusercontent.com/u/1516973?v=3","gravatar_id":"","url":"https://api.github.com/users/danschumann","html_url":"https://github.com/danschumann","followers_url":"https://api.github.com/users/danschumann/followers","following_url":"https://api.github.com/users/danschumann/following{/other_user}","gists_url":"https://api.github.com/users/danschumann/gists{/gist_id}","starred_url":"https://api.github.com/users/danschumann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danschumann/subscriptions","organizations_url":"https://api.github.com/users/danschumann/orgs","repos_url":"https://api.github.com/users/danschumann/repos","events_url":"https://api.github.com/users/danschumann/events{/privacy}","received_events_url":"https://api.github.com/users/danschumann/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tmux-plugins/tmux-resurrect/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/tmux-plugins/tmux-resurrect/labels/help%20wanted","name":"help wanted","color":"159818"},{"url":"https://api.github.com/repos/tmux-plugins/tmux-resurrect/labels/opinion%20wanted","name":"opinion wanted","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":25,"created_at":"2014-09-18T17:14:03Z","updated_at":"2015-07-27T15:55:11Z","closed_at":null,"body":"Hey nice useful project here.\r\n\r\nI noticed `set -g @resurrect-processes '\"~node-dev\"'` doesn't work, but i think `set -g @resurrect-processes '\"~node\"'` did restore, but restored only a blank node session, not my original `node-dev index.js` command.\r\n\r\nI think `node-dev` actually calls `node` and the process runs as node.\r\n\r\nWhat if tmux-restore detected whether a window had a process running, and you based restoring on the command that caused that program to run?\r\n\r\nIf I add node to my processes, i get a terminal that runs as if I had merely called `node` by itself, and it appears not to care what initially spawned the process.\r\n\r\nThis could be possible, right, by sniffing the history?  I see the list of processes as a whitelist, interested by the currently running processes during a save.  If they match, then run the same command again.  Right?"},"comment":{"url":"https://api.github.com/repos/tmux-plugins/tmux-resurrect/issues/comments/125253014","html_url":"https://github.com/tmux-plugins/tmux-resurrect/issues/44#issuecomment-125253014","issue_url":"https://api.github.com/repos/tmux-plugins/tmux-resurrect/issues/44","id":125253014,"user":{"login":"unphased","id":1542910,"avatar_url":"https://avatars.githubusercontent.com/u/1542910?v=3","gravatar_id":"","url":"https://api.github.com/users/unphased","html_url":"https://github.com/unphased","followers_url":"https://api.github.com/users/unphased/followers","following_url":"https://api.github.com/users/unphased/following{/other_user}","gists_url":"https://api.github.com/users/unphased/gists{/gist_id}","starred_url":"https://api.github.com/users/unphased/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unphased/subscriptions","organizations_url":"https://api.github.com/users/unphased/orgs","repos_url":"https://api.github.com/users/unphased/repos","events_url":"https://api.github.com/users/unphased/events{/privacy}","received_events_url":"https://api.github.com/users/unphased/received_events","type":"User","site_admin":false},"created_at":"2015-07-27T15:55:11Z","updated_at":"2015-07-27T15:55:11Z","body":"Awesome clear explanation, thanks. This should be in the readme!"}}