AngelMunoz / Perla

A cross-platform tool for unbundled front-end development that doesn't depend on Node or requires you to install a complex toolchain
https://perla-docs.web.app/
MIT License
131 stars 12 forks source link

search for perla config file in parent directories #47

Closed ThisFunctionalTom closed 3 years ago

ThisFunctionalTom commented 3 years ago

Added searching for perla.jsonc in parent directories so that it is easier to add/remove packages if current directory is some subdirectory.

AngelMunoz commented 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?

ThisFunctionalTom commented 3 years ago

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.