Skip to content

Instantly share code, notes, and snippets.

@pawelgalazka
Created October 4, 2016 02:08
Show Gist options
  • Save pawelgalazka/d81b3ec169c97e9e7fc938d0d49bd2ec to your computer and use it in GitHub Desktop.
Save pawelgalazka/d81b3ec169c97e9e7fc938d0d49bd2ec to your computer and use it in GitHub Desktop.
runjs tricks example (medium article)
import { run } from 'runjs'
export function clean () {
}
export function build () {
process.on('SIGINT', clean)
try {
} catch (e) {
throw e.stack
} finally {
clean()
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment