XO Dev Setup
-
Not the big JS developer here, but I wanted to contribute.
My dev setup is working as far as I can run yarn start in the packages/xo-server directory.
This puts Xen Orchestra running and working on port 8088 as I configured.Now for developing, I used to do something like "yarn dev" to have the project running in dev mode with hot reload and stuff like that, but running "yarn dev" gives me some output, but I see no server running on 8088 or any other port:
jedi@thefang:~/git/xen-orchestra/packages/xo-server$ yarn dev yarn run v1.22.21 $ cross-env NODE_ENV=development yarn run _build --watch $ index-modules --index-file index.mjs src/api src/xapi/mixins src/xo-mixins && babel --delete-dir-on-start --keep-file-extension --source-maps --out-dir=dist/ src/ --watch index generated src/xo-mixins/index.mjs index generated src/api/index.mjs index generated src/xapi/mixins/index.mjs Successfully compiled 148 files with Babel (1035ms). The watcher is ready.
Any tips?
MM
-
@jedimarcus yarn dev start only the watcher(s)
you can start the server by usingcd packages/xo-server
and thenyarn start
you can use nodemon instead of node if you want autoreload