Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pulp server + psa + censor codes doesn't seem to work correctly #312

Open
adamw opened this issue Nov 15, 2017 · 2 comments
Open

pulp server + psa + censor codes doesn't seem to work correctly #312

adamw opened this issue Nov 15, 2017 · 2 comments
Labels

Comments

@adamw
Copy link

adamw commented Nov 15, 2017

I'm using the psa frontend and trying to run pulp server suppressing some warnings. However, I don't think things work as they should:

> pulp server -- --censor-codes=MissingTypeDeclaration

* Server listening on http://localhost:1337/
* Building project in /Users/adamw/projects/test
           Src   Lib   All
Warnings   0     0     0  
Errors     0     0     0  
* Build successful.
* Bundling JavaScript...
Invalid option `--censor-codes=MissingTypeDeclaration'

Usage: purs COMMAND
  The PureScript compiler and tools
* Failed to rebuild; try to fix the compile errors

So I think it builds the sources fine, but fails when bundling the JS? Is there an option to pass the --censor-codes option only to the building phase?

@nwolverson
Copy link
Collaborator

Looks like the argument is being passed to purs bundle not psa, there are a number of issues on this repo referencing the fact that pass-through args go to the wrong place.

@hdgarrood hdgarrood added the bug label Dec 29, 2018
@kevinbarabash
Copy link

I ran into the same issue with the following command:

pulp --watch build --to index.js -- --censor-codes=ShadowedName,ImplicitImport

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

4 participants