Skip to content

Instantly share code, notes, and snippets.

{
"0 debug pnpm:scope": {
"selected": 1
},
"1 debug pnpm:package-manifest": {
"initial": {
"name": "give-orchestration",
"version": "1.0.0",
"description": "",
"engines": {
@robhicks
robhicks / app.js
Created November 22, 2017 16:26
Express gun livereload server
const express = require('express');
const Gun = require('gun');
const join = require('path').join;
const livereload = require('livereload');
const PORT = process.env.PORT || 8080;
const root = process.cwd();
const throng = require('throng');
const WORKERS = process.env.WEB_CONCURRENCY || 1;
function start() {