-
-
Notifications
You must be signed in to change notification settings - Fork 424
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using concurrently ? #327
Comments
I'm thinking the ability to create server groups might be nice. It's not quite what you're asking for, but if Hotel could boot multiple servers at once (essentially replacing |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
Thanks for making hotel, very useful.
I have an issue or maybe a feature request. I'm working on a project with a
react
frontend and a pythonflask
backend.for instance:
├── app.log
├── client
the react app (frontend)
│ ├── README.md
│ ├── craco.config.js
│ ├── dist
│ ├── package.json
│ ├── public
│ ├── src
│ ├── yarn-error.log
│ └── yarn.lock
├── package.json
├── requirements.txt
├── scripts
│ └── restart_server.sh
├── server.py
the flask app (backend)
├── database.py
├── db.json
├── venv
│ ├── bin
│ ├── include
│ ├── lib
│ ├── pip-selfcheck.json
│ └── pyvenv.cfg
└── yarn.lock
I use concurently to run both the python server and the react app (dev mode) at the same time with
--kill-others-on-fail
Trying to register
hotel add "yarn run dev"
but it's autobinding both to the same port making one or the other fail.I know that I could use two separate add for frontend / backend but I was wondering if there was a workaround to this ?
The text was updated successfully, but these errors were encountered: