Skip to content

Instantly share code, notes, and snippets.

@pawelgalazka
Created October 4, 2016 02:10
Show Gist options
  • Save pawelgalazka/cf35c1a72b89d605c04dd9dfb428601c to your computer and use it in GitHub Desktop.
Save pawelgalazka/cf35c1a72b89d605c04dd9dfb428601c to your computer and use it in GitHub Desktop.
runjs tricks example (medium article)
import { run } from 'runjs'
function log () {
}
export function start () {
run('http-server .', {async: true}).then((output) => {
log(output)
}).catch((error) => {
throw error
})
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment