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

bsconfig generators are ignored #68

Open
Coobaha opened this issue Jun 22, 2018 · 4 comments
Open

bsconfig generators are ignored #68

Coobaha opened this issue Jun 22, 2018 · 4 comments

Comments

@Coobaha
Copy link
Contributor

Coobaha commented Jun 22, 2018

plugin version:
0.56

Description

https://bucklescript.github.io/docs/en/build-advanced.html#customize-rules-generators-support

It is possible to define custom generators.

I have spotted two issues:

  1. Plugin bucklescript tab ignores this custom files (no rebuilds)
  2. It is possible to trigger rebuild by editing other file (.re or ml) so this will trigger rebuild for edited custom file but this requires full path to binary otherwise it won't be found.

This works fine if I call bsb manually.

@giraud
Copy link
Owner

giraud commented Jun 22, 2018

Oh, I don't know about generators, what are they used for ?

@Coobaha
Copy link
Contributor Author

Coobaha commented Jun 22, 2018

@giraud my use case is to generate parser and lexer with menhir and ocamllex (.mly and .mll files)

@giraud
Copy link
Owner

giraud commented Dec 15, 2018

@Coobaha I added a watcher on mll mly in v0.69.
Can you tell me if it change something ?

@Coobaha
Copy link
Contributor Author

Coobaha commented Dec 16, 2018

@giraud Thx, they now have some syntax highlighting :)

Editing this files now triggers rebuild but changes to other file types from generators are still ignored.

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

No branches or pull requests

2 participants