Commit 54afda7
committed
fix(cli[load],docs): Tighten lifecycle hook semantics and parity claims
- on_project_start: now only fires on new session creation (not reattach)
- on_project_restart: now only fires on confirmed interactive reattach
(not detached loads of existing sessions)
- Docs: remove "matches tmuxinator" claim for on_project_exit; document
it as tmuxp-specific behavior that fires on every detach event
- CHANGES: correct hook descriptions to match new semantics
- Update test to assert detached loads do NOT trigger restart hook1 parent 24770a9 commit 54afda7
File tree
4 files changed
+15
-20
lines changed- docs/configuration
- src/tmuxp/cli
- tests/cli
4 files changed
+15
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
73 | | - | |
| 72 | + | |
74 | 73 | | |
75 | | - | |
76 | | - | |
77 | | - | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
78 | 77 | | |
79 | 78 | | |
80 | 79 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
63 | | - | |
| 62 | + | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
77 | 79 | | |
78 | 80 | | |
79 | 81 | | |
80 | | - | |
| 82 | + | |
81 | 83 | | |
82 | 84 | | |
83 | 85 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
799 | 799 | | |
800 | 800 | | |
801 | 801 | | |
802 | | - | |
803 | | - | |
804 | | - | |
805 | | - | |
806 | | - | |
807 | | - | |
808 | | - | |
809 | | - | |
| 802 | + | |
| 803 | + | |
810 | 804 | | |
811 | 805 | | |
812 | 806 | | |
813 | 807 | | |
814 | 808 | | |
815 | 809 | | |
816 | | - | |
817 | 810 | | |
818 | 811 | | |
819 | 812 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1203 | 1203 | | |
1204 | 1204 | | |
1205 | 1205 | | |
1206 | | - | |
| 1206 | + | |
| 1207 | + | |
1207 | 1208 | | |
1208 | 1209 | | |
1209 | 1210 | | |
1210 | 1211 | | |
1211 | 1212 | | |
1212 | | - | |
| 1213 | + | |
1213 | 1214 | | |
1214 | 1215 | | |
1215 | 1216 | | |
| |||
0 commit comments