Skip to content
This repository was archived by the owner on Dec 6, 2018. It is now read-only.

bsb -watch being called from packager can cause some difficulties #7

@desmond-dsouza

Description

@desmond-dsouza

It looks like calling bsb -watch and the native packager go together here: https://github.com/react-community/reason-react-native-scripts/blob/master/src/util/packager.js#L72-L75

ReasonML's editor support has shifted towards a language-server which itself runs bsb whenever needed, automatically regenerating the js files and piping errors back to the specific editor (I use VScode and it does work this way). The two bsb's can apparently conflict on such things as the single .merlin file.

Would you be open to separating the bsb -watch? I would suggest it not be included, and the README steps can tell the user that bsb-(re)compiling is needed e.g. through their editor setup or by them manually keeping a bsb -watch running in terminal (ReasonML and Bucklescript users probably know about bsb -make-world -clean-world -w already).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions