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

sometimes doesnt throw errors because files are checked only if loaded from entrypoint #144

Open
srghma opened this issue Apr 18, 2020 · 0 comments

Comments

@srghma
Copy link

srghma commented Apr 18, 2020

this is not exactly a bug, but

IF I run spago build --watch in some termial - it will show all errors, doesnt matter if module is used or not

BUT with purs-loader

  1. clone this repo https://github.com/srghma/purescript-webpack-example/tree/webpack-spago-loader
  2. run webpack with watch mode
  3. change something in

https://github.com/srghma/purescript-webpack-example/blob/webpack-spago-loader/src/Example/UnusedInUnused.purs

or https://github.com/srghma/purescript-webpack-example/blob/webpack-spago-loader/src/Example/Unused.purs, you can even make it invalid

or add a hole

  1. there will be no recompilation and no error

expected: recompilation and error

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

No branches or pull requests

1 participant