nars
nars copied to clipboard
Dev dashboard + watcher
Currently the development process is extremely tedious. We need multiple commands and since we don't run tsc in the watch mode, it's extremely slow. I'd like to create a dashboard based built with ink which will watch and build all packages and run the server's from one interface.

The user should be able to simply run yarn start-dev in the root package and they should see the dashboard. It should automatically launch all build tools and servers and relaunch them if needed. It should essentially do what yarn build in the root does + yarn start in examples/server + yarn start in examples/client all in the watch mode. I would like to avoid running watch mode directly but tsc is too slow so we cannot avoid that.
I'll take care of it.
We are going to run the following: Servers:
- React Native Bundler
- Nars server (bundled with parcel, maybe in some watch mode?) Build processes:
tscinpackages/narstscinpackages/nars-clienttscinpackages/nars-commongenerate_schemainpackages/nars-common- Bucklescript in
packages/nars - Copying to dist in
packages/nars(although feel free to remove this step if you have a better idea)
I think that's sufficient. It'd be great to run tsc in --watch because it's very slow to start. That said if it turns out problematic don't bother to run it in watch. We can improve it later.