1
0
Преглед на файлове

FileServer: enhance warning when no index.html file can be found

Manfred Kröhnert преди 11 години
родител
ревизия
163f4d0c74
променени са 3 файла, в които са добавени 292 реда и са изтрити 346 реда
  1. 131 167
      cli/js/AmberCli.js
  2. 3 1
      cli/st/AmberCli.st
  3. 158 178
      cli/support/amber-cli.js

Файловите разлики са ограничени, защото са твърде много
+ 131 - 167
cli/js/AmberCli.js


+ 3 - 1
cli/st/AmberCli.st

@@ -169,7 +169,9 @@ username: aUsername
 
 checkDirectoryLayout
 	(fs existsSync: self basePath, 'index.html') ifFalse: [
-		console warn: 'Warning: project directory does not contain index.html'].
+		console warn: 'Warning: project directory does not contain index.html.'.
+		console warn: '    You can specify its location with --fallback-page.'.
+		console warn: '    Or you can specify the directory to serve with --base-path.'.].
 	(fs existsSync: self basePath, 'st') ifFalse: [
 		console warn: 'Warning: project directory is missing an "st" directory'].
 	(fs existsSync: self basePath, 'js') ifFalse: [

Файловите разлики са ограничени, защото са твърде много
+ 158 - 178
cli/support/amber-cli.js


Някои файлове не бяха показани, защото твърде много файлове са промени