bsconfig generators are ignored
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:
- Plugin bucklescript tab ignores this custom files (no rebuilds)
- 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.
Oh, I don't know about generators, what are they used for ?
@giraud my use case is to generate parser and lexer with menhir and ocamllex (.mly and .mll files)
@Coobaha I added a watcher on mll mly in v0.69. Can you tell me if it change something ?
@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.