Skip to content

Instantly share code, notes, and snippets.


Noah Klayman nklayman

View GitHub Profile
nklayman / devAndTest.js
Last active Jan 31, 2019
Start Quasar Dev server and then run tests
View devAndTest.js
const execa = require('execa')
const readline = require('readline')
// Start dev server
const devServer = execa('quasar', ['dev'])
devServer.catch(e => {
// Throw error if it wasn't killed manually
if (!e.killed) throw new Error(e)
const killDevServer = () => {
You can’t perform that action at this time.