You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[
-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}"'
The text was updated successfully, but these errors were encountered:
fatso83
changed the title
Bug in parser definition for embedded quotes in strings
Bug in parser definition for embedded quotes or curly braces in strings
Mar 23, 2023
I think this might be related to the curly braces, as the previous definition had the same quotes, but no curly braces: [ 'npx chokidar "code/*/src/**/*.ts*" -c "npx eslint {path}"']
We have a stmux config looking like this:
If firing this up it seems that the wrong data is sent over to Blessed, as it crashes with
This is the
Program.prototype._attr = function(param, val) { ...
function and the value ofparam
andval
isjs,ts,jsx,tsx
andundefined
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}"'
The text was updated successfully, but these errors were encountered: