aziz/SublimeANSI

how to run it with Typescript build ?

Opened this issue · 0 comments

Hi and thx for this module,

The read.me says we have to edit the build config as following :

// someproject.sublime-project
{
    "build_systems":
    [
        {
            /* your existing build command arguments */
            "name": "Run",
            "working_dir": "${project_path}/src",
            "env": {"PYTHONPATH": ".../venv/python2.7/site-packages"},
            "cmd": ["nosetests", "--rednose"],

            /*  add target and syntax */
            "target": "ansi_color_build",
            "syntax": "Packages/ANSIescape/ANSI.tmLanguage"
        }
    ]
}

but with typescript build (included in https://github.com/Microsoft/TypeScript-Sublime-Plugin), target is already defined like that :

{
    "target": "typescript_build",
    "selector": "source.ts, source.tsx"
}

So how to use ANSI colors with typescript build ?

Thx in advance.