@mxjp/workspace-portal
v0.0.5
Published
Automagically symlink across different npm packages or workspaces during development.
Downloads
3
Readme
Workspace Portal
This is a tool for automagically symlinking specific directories across different npm packages or workspaces during development.
How?
When multiple portals run on the same computer at the same time, they will detect each others package information and create symlinks for the specified directories.
Setup
npm i -D @mxjp/workspace-portal
To start a portal run:
npx workspace-portal [...dirs]
# Example: When writing build output into "./dist":
npx workspace-portal dist
You can also add this to a script you usually run during development:
{
"scripts": {
"start": "concurrently \"workspace-portal dist ...\" ..."
}
}