Closed alex-pinkus closed 4 months ago
The tree-sitter executable gets downloaded as a binary during the build, which is notably asynchronous -- this is why scripts/wait-for-tree-sitter.js exists. The code in binding.gyp therefore needs to run that before generating the header files.
scripts/wait-for-tree-sitter.js
binding.gyp
The tree-sitter executable gets downloaded as a binary during the build, which is notably asynchronous -- this is why
scripts/wait-for-tree-sitter.js
exists. The code inbinding.gyp
therefore needs to run that before generating the header files.