Hi everyone!

I tried to find a way to make a build system on sublime which builds and 
opens the generated html file in a browser without any luck.
I added to the .sublime-build for Elm Make an additional variant which 
should open the generated file in chrome:
        {
            "name": "Run and Show",
            "shell": true,
            "cmd":
            [
                "elm-make",
                "$file",
                "--output={output}",
                "--report=json",
                "--yes",
                "&&",
                "google-chrome",
                "--new-window",
                "{output}"
            ]
        },

This prints the following command in sublime's console:

Running elm-make Test.elm --output=build/index.html --report=json --yes && 
google-chrome --new-window {output}

So it seems that elm-make is running and generating the build/index.html 
file and then it should not open the chrome window (as {output} won't get 
replaced), but actually nothing happens.
Is there any way to make this work?

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to