Right now it only works when absolute paths are used in the #include statement.
The way to fix it is to place that script that is being run by ESTK in the same location as the script it is compiling.
I see two ways to do this:
Create one script file for each of the files passed into jsxbin, and place the ESTK script in the same location as that passed file. ESTK has to close and reopen for each of the files, which may slow things down.
Create a list of directories where the passed files are located and a list of which files are in those folders. Create a script for each of the directories and place them there. This is the most optimal, i believe.
Right now it only works when absolute paths are used in the
#include
statement.The way to fix it is to place that script that is being run by ESTK in the same location as the script it is compiling.
I see two ways to do this:
Any help/pull request on this is welcome!