Currently, the nodejs file used to setup the Tern server loads all JSON defs found in the provided node module. We need a way to configure which defs get loaded by the tern process that fits with the Light Table architecture.
I was thinking of using behaviors for the configuration like below:
Since behaviors can be setup on the workspace level, this seemed like a good path to investigate. We would need to a way inform the Tern server if behaviors change and I'm sure there are other issues I haven't thought of just yet.
Currently, the nodejs file used to setup the Tern server loads all JSON defs found in the provided node module. We need a way to configure which defs get loaded by the tern process that fits with the Light Table architecture.
I was thinking of using behaviors for the configuration like below:
Since behaviors can be setup on the workspace level, this seemed like a good path to investigate. We would need to a way inform the Tern server if behaviors change and I'm sure there are other issues I haven't thought of just yet.