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
I use the following script to run concurrent processes:
constfs=require('fs')constpath=require('path')constconcurrently=require('concurrently')constworkspacePaths=JSON.parse(fs.readFileSync('./package.json')).workspacesconst{ result }=concurrently(workspacePaths.map((wp)=>({command: 'npm:dev',name: path.basename(wp),cwd: path.resolve(__dirname,'../',wp),})),{prefix: 'name',killOthers: ['failure','success'],restartTries: 0,prefixColors: 'auto',})result.then(()=>{console.log('Success')},()=>{console.log('Failed')})
However, when I run in the terminal, it doesn't show any colors in the prefixes:
yet other colors are displayed. What could be the problem?
Thanks in advance.
The text was updated successfully, but these errors were encountered:
OnkelTem
changed the title
No colors at the output when using prefixColors: "auto"
No colors for prefixes at the output when using prefixColors: "auto"Sep 2, 2023
OnkelTem
changed the title
No colors for prefixes at the output when using prefixColors: "auto"
No colors for prefixes when using prefixColors: "auto" via concurrent API
Sep 2, 2023
concurrently: 8.2.1
node: v16.17.0
I use the following script to run concurrent processes:
However, when I run in the terminal, it doesn't show any colors in the prefixes:
yet other colors are displayed. What could be the problem?
Thanks in advance.
The text was updated successfully, but these errors were encountered: