1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
Commit graph

15 commits

Author SHA1 Message Date
Xuezheng Ma 4eb86dc5f8 Added proper error for running next start on dev build (#2337)
* Added proper error for running `next start` on dev build

* Check if build exist before usage

* Move BUILD_ID check from bin/next-start to server/index.js

* Check env before checking build
2017-06-26 22:18:56 +02:00
alex newman 9347c8bdd0 Specify a different build directory for #1513 (#1599)
* Update references to `.next`

* Remove console logs and extraneous semi colons

* Remove lint errors

* Update references to .next and update docs

* Update options from nested to flat with `distDir`

* Add integration tests, and update `.gitignore`

* Rename integration folder to dist-dir to match standards
2017-04-06 15:39:26 +05:30
Tim Neutkens f93bacfaba Use minimist string option for hostname (#1090)
* Use minimist string option

* Consistently use --hostname

* Code style

* Show hostname
2017-02-13 01:23:42 +09:00
Jesse Hattabaugh c4a22abb4c adding hostname argument to CLI (#1017)
* adding hostname argument to CLI

* using -H instead of -hn

* removing hostname default

* checking that hostname has a truthy value that's not a boolean

* making the log message match the hostname

* oops
2017-02-12 12:26:10 +01:00
Tim Neutkens ec83670cc7 Check if BUILD_ID is available before starting (#960)
* Check if BUILD_ID is available before starting

* Leave whitespace at end of file
2017-02-02 15:59:01 -08:00
Arunoda Susiripala 6f117ecf77 Set default NODE_ENV value. (#768) 2017-01-15 19:58:45 -08:00
davidrossjones 60918eeb36 Fix typo for --help messages in /bin (#770) 2017-01-14 17:31:09 -08:00
Marvin Mieth 23d5ea9164 Add warning when running start without build (#736)
* add warning when running start without build

* run build before start

* Revert "run build before start"

This reverts commit 171b54489df7b6c3ebd0d9d65578acf89d4daa12.

* exit code & dir

* dont update yarn.lock

* use existsSync

* Add some style changes.
2017-01-11 23:11:37 +09:00
Stephen Sauceda 955f6817c4 Add cli usage information (#423)
* add cli usage: `next init`

* add cli usage: `next --help`

* add cli usage: `next build --help`

* add cli usage: `next dev --help`

* add cli usage: `next init --help`

* add cli usage: `next start --help`

* use set

* build, start and dev all accept a directory

* typo and conciseness
2016-12-18 12:28:34 -08:00
Leo Lamprecht 7bb903d563
Only show the URL locally, not on the Now platform
Now outputs a URL by itself
2016-12-06 21:39:26 +01:00
nkzawa 6ca52f3ee2 use template literals for console.log 2016-12-02 15:29:02 +09:00
Dan Zajdband 38efb9f96e Using process.exit instead of exit 2016-10-25 16:03:24 +01:00
Dan Zajdband 1477734211 Added linting using standard (#27)
* Added linting using standard

* Linting on test
2016-10-16 17:00:17 -07:00
nkzawa 88b01e0a72 next-dev 2016-10-06 20:05:52 +09:00
nkzawa 9b06a22f31 initial source 2016-10-06 08:52:50 +09:00