-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
any way to disable automatic bsb compilation? #32
Comments
ok, I will add a property for that. |
Thank you! Here's an explanation of the setup that led to this request: I put the following in Help > Edit Custom VM Options:
Then I restarted jetbrains and tried to make a new Reason React Native Scripts project. I use In addition, in the react native server console, I get:
If I uninstall the plugin, and do So that's why. If you know of a different way around this so I can keep using the plugin, please let me know! |
It's strange, refmt is no more automatically run. what is the version of your plugin ? I think that it's not a good idea to run bsb in a node script. The compilation phase should stay in the IDE, this way we can trigger/monitor this external compilation process. For ex, if you stop using bsb in intellij , you won't have the annotations in your sources, like here: it's not perfect yet, but it's helpful to locate the error quickly. If you don't include neither of the bsb and remft properties, you will still get the syntax coloration. |
in v0.38, you can use the property reasonBsbDisabled. add -DreasonBsbDisabled=true in your vm.properties file |
Thank you! I think this feature may prove helpful, though at your advice I tried again, and ended up fixing my setup to work with this plugin by removing the global vmoption pointers to
along with webpack, and the plugin is now working with |
I'm working on a react native app with Reason, and I'd like to handle bsb compilation myself. I'd love to have some ReasonML syntax highlighting, but until ReasonReact is supported, I need to disable the ReasonML plugin looking for and attempting to do things with bsb. Is there any way to do this?
The text was updated successfully, but these errors were encountered: