Questions tagged [concurrently]
53 questions
7
votes
5 answers
How can I start my node server and react app at the same time?
I created an API using express and I want to use it in my front-end server, the issue is that in order for my api to work I have to constantly run it on a server. However I can't do that simultaneously running my react application. So my question is…

martha1352
- 71
- 1
- 1
- 2
5
votes
0 answers
Is it possible to configure concurrently to run a task sequentially?
My NPM package has the following scripts to
Start MongoDB.
Build an angular app and having it watched with any changes.
Start an express server using nodemon.
"scripts": {
"start_db": "mongod",
"start_client": "ng build --output-path…

Kelvin Ho
- 376
- 2
- 3
- 14
3
votes
1 answer
How to run an application in codesandbox with different subfolder for backend and frontend
I want to get a codesandbox for an app I am working on. How do I make the project work with two different subfolders named backend and frontend?
How can that be done?
I am sending for you my packages.json file content:
{
"name":…

lucasbbs
- 349
- 4
- 14
3
votes
0 answers
running multiple node.js applications effectively
I am a node newbie. I have 3 node applications (each serves different protocols, one of them is web) that should run in an embedded device with limited memory, say 256M. I assume starting 3 node instances would start 3 isolated V8. Should I use the…

Mako
- 123
- 9
2
votes
1 answer
concurrently handle input does not work as expected
I am trying to combine two shell commands with concurrently lib and there should be option to forward user input into one of the child processes, see docs here, section --handle-input. But it somehow does not work in my case:
npm script
…

Luckylooke
- 4,061
- 4
- 36
- 49
2
votes
1 answer
Use concurrently in yarn with wildcards
I would like to have in the scripts of package.json for yarn something like: "start": "concurrently yarn:start:*".
Using npm, one could call concurrently with wildcards like this:
"start": "concurrently npm:start:*",
"start:cmd1":…

Gerriet
- 1,302
- 14
- 20
2
votes
1 answer
Schedule REINDEX table CONCURRENTLY job
Aurora Postgress 12.6
Purpose: schedule to rebuild all indexes.
what I did is create a function that calls all tables names and reindex concurrently and put the function in pg_cron but it gives me the error "SQL Error [25001]: ERROR: REINDEX…

user3706888
- 159
- 2
- 11
2
votes
3 answers
NPM run build with React + Node + concurrently How to?
I have spend hours trying to figure this out any advice is welcome. The objective here is to assemble a postbuild script that will work on a nodeJS app running a react client.
React is on post 3000 and node is on 5000. So it requires the…

Michael Nelles
- 5,426
- 8
- 41
- 57
2
votes
1 answer
How to chain npm script call after each ng serve build?
I'm trying to chain the ng serve script call while running but when I've ran this command the second chained script build-components.js runs only on first call.
I thought concurrently package here would allow both scripts to run in sequence…

Brian Var
- 6,029
- 25
- 114
- 212
2
votes
2 answers
Concurrently npm with React Js
I have a project which is created using Node express and React Js. The server(Node) package.json as follows. It uses concurrently to start both server and client as once using npm run dev. The server uses port 5000 and the client uses port 3000 And…

test team
- 677
- 3
- 12
- 27
1
vote
1 answer
wait-on not moving onto the next command for my electron app using reactJs
I am new to electronjs and I am working on an electron app using ReactJs and I am trying to open the dev server using concurrently and wait-on.
Here is my scripts section of package.json
"scripts": {
"start": "react-scripts start",
…

Agent47
- 91
- 7
1
vote
0 answers
Watching and running 2 scripts with Node, Concurrently and Typescript causes address in use
I'm trying to use concurrently with nodemon and tsc to have 2 TS scripts be watched, and thus my nodemon server updated when something changes, the index.ts is my router and the queue.ts is a worker. I'm using the following package.json
"dev":…

Miguel Stevens
- 8,631
- 18
- 66
- 125
1
vote
2 answers
Concurrently setup fix
Concurrently setup error
Please help me out to fix this error.
I am using concurrently dev dependencies to run server and client site simultaneously but its not working as you can see in this photo.

Akash Dey
- 11
- 2
1
vote
0 answers
Hugo can not find created files by node when using concurrently
I have a node project which I build with concurrently with the following build pipe:
"scripts": {
"build": "concurrently -g npm:build:*",
"build:generate-db": "ts-node ./converter/main.ts",
"build:tailwind": "npx tailwindcss -i ./src/input.css…

Lars Flieger
- 2,421
- 1
- 12
- 34
1
vote
0 answers
package an electron app which uses json-server with concurrently
I have built a react application which uses json-server as a fake api backend. I want to package this app with electron.js as a windows application. I was able to use concurrently in the start script as such:
"start": "concurrently \"json-server…

Ali Naji
- 43
- 1
- 4