We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5436d41 commit 1e4917aCopy full SHA for 1e4917a
index.js
@@ -30,6 +30,9 @@ function init(project) {
30
31
function main() {
32
switch (process.argv[2]) {
33
+ case '-ie': {
34
+ globalThis.kind = 'electron';
35
+ }
36
case '-i':
37
case 'init':
38
case '--init': { // Init cwd() or a project
@@ -103,7 +106,9 @@ Usage: nds [options] [project]
103
106
Options:
104
107
[project] The project directory
105
108
-c, --create Create a TypeScript project and init it
109
+ -ce electron
110
-i, --init Init a TypeScript project
111
+ -ie electron
112
-ej, --eject Eject the TypeScript supported configuration file
113
-j, --just Just auto compile, don't run
114
-v, --version Display version of node-dev-server
0 commit comments