You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So if you open your editor at the root, you'll see errors about a missing spago.dhall.
One workaround is to change your development root (where you open your IDE from) to the directory of the recipe you are editing:
cd recipes/RecipeFoo
spago build
code .
This workaround has a few issues:
output/ is duplicated in the recipe directory.
Automatic page refresh (from make RecipeFoo-web) will not pick-up this local output/, since it relies on output/ at root.
You can get page refresh to work by running make RecipeFoo-build-watch in another terminal, which will also build changes into output/ at root. This is not ideal, because now we're duplicating effort by building into two output/ locations.
The text was updated successfully, but these errors were encountered:
PureScript IDEs do not play nice with the cookbook directory structure.
The IDEs usually expect to find these in the root directory:
We still have a common
output/
andpackages.dhall
in root, but use a separatespago.dhall
for each recipe.So if you open your editor at the root, you'll see errors about a missing
spago.dhall
.One workaround is to change your development root (where you open your IDE from) to the directory of the recipe you are editing:
This workaround has a few issues:
output/
is duplicated in the recipe directory.make RecipeFoo-web
) will not pick-up this localoutput/
, since it relies onoutput/
at root.make RecipeFoo-build-watch
in another terminal, which will also build changes intooutput/
at root. This is not ideal, because now we're duplicating effort by building into twooutput/
locations.The text was updated successfully, but these errors were encountered: