![]() ![]() prefixColors: a list of colors or a string as supported by chalk and additional style auto for an automatically picked color."command-]).ĭefault: the name of the process, or its index if no name is set. s, -success Which command(s) must exit with code 0 in orderįor concurrently exit with code 0 too. n "styles|scripts|server" -name-separator "|" name-separator The character to split on. n, -names List of custom names to be used in prefixĮxample names: "main,browser,server" New processes only spawn after all restart tries m, -max-processes How many processes should run at once.Įxact number or a percent of CPUs available (for example "50%"). # Running only lint:js and lint:ts # with lint:fix:js and lint:fix:ts excluded Remember to surround separate commands with quotes: The tool is written in Node.js, but you can use it to run any commands. The concurrently command is now also available under the shorthand alias conc. Please adjust the command if this doesn't apply in your case. * It's recommended to add concurrently to devDependencies as it's usually used for developing purposes. With -kill-others switch, all commands are killed if one diesĬoncurrently can be installed in the global scope (if you'd like to have it available and use it on the whole system) or locally for a specific package (for example if you'd like to use it in the scripts section of your package):.Tired of opening terminals and made concurrently. Also if one process fails, others still keep runningĪnd you won't even notice the difference.Īnother option would be to just run all commands in separate terminals. Like npm run watch-js & npm run watch-less but better.īut the usual way to run multiple commands concurrently is
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |