-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
We have a stmux config looking like this:
[
-s 1/30 ['./stmux-help.sh' ]
:
-s 1/10 [ 'npm run dev:app1' .. 'npm run dev:app2' ]
:
[ '$(pnpm bin)/tsc --watch' .. 'npm run test -- --watch' ]
:
[ "npx chokidar 'code/*/src/**/*.{js,ts,jsx,tsx}' -c 'npx eslint {path}'"]
]
If firing this up it seems that the wrong data is sent over to Blessed, as it crashes with
TypeError: Cannot read properties of undefined (reading 'slice')
at /home/carlerik/code/nimble/frontend/node_modules/.pnpm/[email protected]/node_modules/blessed/lib/program.js:2547:18
This is the Program.prototype._attr = function(param, val) { ... function and the value of param and val is js,ts,jsx,tsx and undefined respectively.
I had a quick glance at the parser PEG file, but could not immediately spotting what to look for, and since there is no test coverage in the project I do not dare touching it either in fear of breaking existing behavior 😰 Running the command in a shell works fine: sh -c 'npx chokidar "code/*/src/**/*.{js,ts,jsx,tsx}" -c "npx eslint {path}"'
Metadata
Metadata
Assignees
Labels
No labels