We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 666b81a commit fc7d619Copy full SHA for fc7d619
bin/dev
@@ -0,0 +1,17 @@
1
+#!/usr/bin/env node
2
+
3
+const oclif = require('@oclif/core');
4
5
+const path = require('path');
6
+const project = path.join(__dirname, '..', 'tsconfig.json');
7
8
+// In dev mode -> use ts-node and dev plugins
9
+process.env.NODE_ENV = 'development';
10
11
+require('ts-node').register({ project });
12
13
+// In dev mode, always show stack traces
14
+oclif.settings.debug = true;
15
16
+// Start the CLI
17
+oclif.run().then(oclif.flush).catch(oclif.Errors.handle);
bin/dev.cmd
@@ -0,0 +1,3 @@
+@echo off
+node "%~dp0\dev" %*
0 commit comments