@yeow/create-yeow 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -44,6 +44,7 @@ async function promptProxy(devConfig) {
|
|
|
44
44
|
const rl = readline.createInterface({ input: process.stdin, output: process.stdout });
|
|
45
45
|
const answer = await new Promise((resolve) => {
|
|
46
46
|
const hint = currentProxy ? ` (current: ${c.cyan}${currentProxy}${c.reset})` : '';
|
|
47
|
+
log(` ${c.yellow}Configure proxy to download PaperMC server JAR`);
|
|
47
48
|
rl.question(` ${c.yellow}Proxy address${c.reset}${hint} [blank to skip]: `, (val) => {
|
|
48
49
|
rl.close();
|
|
49
50
|
resolve(val);
|
|
@@ -44,6 +44,7 @@ async function promptProxy(devConfig) {
|
|
|
44
44
|
const rl = readline.createInterface({ input: process.stdin, output: process.stdout });
|
|
45
45
|
const answer = await new Promise((resolve) => {
|
|
46
46
|
const hint = currentProxy ? ` (current: ${c.cyan}${currentProxy}${c.reset})` : '';
|
|
47
|
+
log(` ${c.yellow}Configure proxy to download PaperMC server JAR`);
|
|
47
48
|
rl.question(` ${c.yellow}Proxy address${c.reset}${hint} [blank to skip]: `, (val) => {
|
|
48
49
|
rl.close();
|
|
49
50
|
resolve(val);
|
|
@@ -236,7 +237,7 @@ function startHotReloadWatcher() {
|
|
|
236
237
|
|
|
237
238
|
let debounceTimer = null;
|
|
238
239
|
srcWatcher = fs.watch(srcDir, { recursive: true }, (eventType, filename) => {
|
|
239
|
-
if (!filename || !filename.endsWith('.
|
|
240
|
+
if (!filename || !filename.endsWith('.js')) return;
|
|
240
241
|
if (isCompiling) return;
|
|
241
242
|
if (debounceTimer) clearTimeout(debounceTimer);
|
|
242
243
|
debounceTimer = setTimeout(async () => {
|