purescript-contrib / pulp

A build tool for PureScript projects
GNU Lesser General Public License v3.0
445 stars 86 forks source link

Building dependencies only or first #379

Closed TroyJoachim closed 5 years ago

TroyJoachim commented 5 years ago

Is there a way to build only the dependencies or build them before my files in the src directory. I noticed that if there are build errors in the files in the src directory that it won't build the dependencies. However, the errors are caused by missing dependencies.

To fix this, I have to remove the files with the errors, add the dependencies using Bower/psc-package/etc, run command pulp build, then add the files back to the src directory. Then they will be able to see the imported modules.

Am I missing something? Why would it not build the dependencies before the .purs files in the src directory? Also, I am using VSCode with the Purescript ide extension.

TroyJoachim commented 5 years ago

I fixed the issue by reinstalling pulp.