1
mirror of https://github.com/jakejarvis/hugo-extended.git synced 2025-04-26 14:38:28 -04:00
hugo-extended/cli.js
Jake Jarvis 6c87e415dc
allow binaries in vendor folder to be cached
aka: don't delete binaries in node_modules folder, since they shouldn't change anyways (unless the package is also updated)
2020-02-18 17:40:51 -05:00

10 lines
194 B
JavaScript
Executable File

#!/usr/bin/env node
'use strict';
const { spawn } = require('child_process');
const hugo = require('.');
spawn(hugo, process.argv.slice(2), { stdio: 'inherit' })
.on('exit', process.exit);