workon 2.1.2 → 2.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [2.1.3](https://github.com/israelroldan/workon/compare/v2.1.2...v2.1.3) (2025-08-07)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * Ensure tmux sessions spawn detached to avoid blocking ([5a98684](https://github.com/israelroldan/workon/commit/5a98684f535efac50cec1af011086adc957edd74))
11
+
5
12
  ### [2.1.2](https://github.com/israelroldan/workon/compare/v2.1.1...v2.1.2) (2025-08-07)
6
13
 
7
14
  ### [2.1.1](https://github.com/israelroldan/workon/compare/v2.1.0...v2.1.1) (2025-08-07)
package/lib/tmux.js CHANGED
@@ -131,14 +131,16 @@ class TmuxManager {
131
131
  const useiTermIntegration = isITerm && !process.env.TMUX_CC_NOT_SUPPORTED;
132
132
 
133
133
  if (useiTermIntegration) {
134
- // Use iTerm2 tmux integration
134
+ // Use iTerm2 tmux integration - spawn detached to avoid blocking
135
135
  spawn('tmux', ['-CC', 'attach-session', '-t', sessionName], {
136
- stdio: 'inherit'
136
+ stdio: 'inherit',
137
+ detached: true
137
138
  });
138
139
  } else {
139
- // Use regular tmux
140
+ // Use regular tmux - spawn detached to avoid blocking
140
141
  spawn('tmux', ['attach-session', '-t', sessionName], {
141
- stdio: 'inherit'
142
+ stdio: 'inherit',
143
+ detached: true
142
144
  });
143
145
  }
144
146
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "workon",
3
- "version": "2.1.2",
3
+ "version": "2.1.3",
4
4
  "description": "Work on something great!",
5
5
  "main": "index.js",
6
6
  "scripts": {