Closed ThisFunctionalTom closed 3 years ago
What do you think about setting the CWD
to commands and behavior that depend on that like mountPaths
or even trying to look for the on the fly ts transpilation?
I think this one works great for add/remove but I'm not sure if this also could help users to shoot themselves in the foot when running perla serve/build
in a child path?
Oh, yeah, you are right. Didn't think about it.
I changed the working directory for build and serve. I hope other commands are OK.
Please take a look.
Added searching for perla.jsonc in parent directories so that it is easier to add/remove packages if current directory is some subdirectory.