-
Notifications
You must be signed in to change notification settings - Fork 471
Closed
Labels
Description
In Yarn workspaces, shared deps are "hoisted" to a parent folder. Workspaces are symlinked like.
Let's say I am working in a monorepo with two Yarn workspaces, package-1
and package-2
, each one with their own bsconfig.json
(image source):
If package-1
depends on package-2
there is no way at the moment (that I know of) to run bsb -w
from package-1
folder, and have the compiler pick up the changes on package-2
.
I was thinking if the watcher could somehow detect if the folder in node_modules
is a symlink, and in that case watch for changes in it as well?
johnhaley81, liubko, bryanthomaschen, fhammerschmidt, cknitt and 11 moreyawaramin, cknitt, Coobaha, luigi-loft, jcostabp and 1 more