47 Commits

Author SHA1 Message Date
Dan Abramov
bf12c41675 Reword comment 2016-09-18 12:01:46 +03:00
Dan Abramov
1220683276 Update webpack-dev-server and add clientLogLevel option 2016-09-18 11:52:58 +03:00
Dan Abramov
801c20028f Tweak scroll sequences 2016-09-18 11:25:33 +03:00
Dan Abramov
f8b4726052 Add missing file check to npm run build too 2016-09-18 11:25:32 +03:00
Vincent Taing
4a0f39ae80 Crash the app if it does not find index.html or index.js (#653) 2016-09-18 11:25:32 +03:00
Rewieer
16a9724964 Corrected a typo in the comments of start.js (#663) 2016-09-17 22:10:39 +03:00
Jerome Smadja
edddc50af7 Fixed typo in code comment (#635) 2016-09-13 16:57:19 +03:00
cloudmu
29107ca29b Send proper error response in custom onError handler for httpProxyMiddleware. (#588)
* Change http-proxy-middleware logLevel from silent to error

* provide onError handler for httpProxyMiddleware

* Send proper error reponse upon proxy error.
2016-09-05 21:33:31 +03:00
cloudmu
ec60307c68 Provide custom onError handler for http-proxy-middleware (#502)
* Change http-proxy-middleware logLevel from silent to error

* provide onError handler for httpProxyMiddleware
2016-09-03 10:32:19 +01:00
Dave Ceddia
c22c96b20a Look for HTTPS environment variable (#430)
With the HTTPS env var set 'true', the dev server will serve over HTTPS.
2016-09-02 20:47:06 +01:00
Dan Abramov
f1c9584352 Disable implicit serving of the source files (#551)
* Disable contentBase in development

* Document #428
2016-09-02 20:35:46 +01:00
Dan Abramov
98f74a8c65 Remove code that is unused after publish (#550) 2016-09-02 20:27:58 +01:00
Jiansen HE
6c8713b7d1 tagging dev-only code (@remove-on-publish-begin/end) and pre-eject-only code (@remove-on-eject-begin/end) #257 (#257) 2016-09-02 16:34:34 +01:00
Max Stoiber
25a0b66fcf Disable dot rule of connect-history-api-fallback (#422)
Ref #387
2016-08-11 22:04:29 +01:00
Dan Abramov
8ae36c6ef5 Make missing module output slimmer
Thanks to @geowarin for the tip in https://github.com/facebookincubator/create-react-app/issues/401#issuecomment-238291901
2016-08-08 18:58:35 +01:00
Anton Kaminsky
c5cdbd5532 Small grammatical correction (#367)
* Small grammatical correction

* Fix another grammatical error for consistency
2016-08-05 14:33:57 +01:00
Dan Abramov
c1a984d98e Document configuration and build process (#362) 2016-08-04 20:56:52 +01:00
Dan Abramov
c13f7f40a2 Style tweaks 2016-08-04 19:21:07 +01:00
Dan Abramov
379cf5c96d Add proxy option to package.json (#282)
This allows users to avoid CORS in simple projects that are hosted on the same server as backend.
2016-08-04 16:49:59 +01:00
Dan Abramov
01eeb61394 Tweak npm start to make it clear it’s not optimized
Ref: https://twitter.com/sprjrx/status/760481328886272004
2016-08-02 15:45:47 +01:00
Dan Abramov
44b8313213 Make AppleScript call more bulletproof and silence its output
Fixes #322
2016-08-02 15:00:39 +01:00
Dan Abramov
b29a943169 Revert "Fix port detection lag on OS X with Firewall enabled (#319)"
The problem has since been fixed upstream.

This reverts commit f7011e0472.
2016-08-01 18:10:57 +01:00
Dan Abramov
f7011e0472 Fix port detection lag on OS X with Firewall enabled (#319)
This fixes #302 by temporarily forking `detect-port`.
Hopefully this fix will be merged into the original project, and we can refer to it again.
2016-08-01 15:38:05 +01:00
Dave Ceddia
6a8f79ce3a Prevent Webpack from watching node_modules dir (#294) 2016-07-30 16:00:11 +01:00
Dan Abramov
2e20fd13c0 Use a more solid way to reset the console
This seems to work best, both on Windows, OS X, and Linux
2016-07-28 15:14:47 +01:00
Dan Abramov
2fe84ecded Respect process.env.PORT 2016-07-27 21:48:19 +01:00
Peter Indiola
2edf2180f2 Suggest another port when 3000 is busy (#101, #243)
Also fixes #194
2016-07-27 21:21:50 +01:00
Dan Abramov
dfecfea6ba Unroll indirection in paths (#191) 2016-07-25 22:45:27 +01:00
Alex
c9fd6979ac Fix issue #127 (#128) 2016-07-23 21:19:07 +01:00
Dan Abramov
024b4d4fcd Minor tweaks 2016-07-22 11:09:56 +01:00
Max
9317d106a3 Fix check for smoke test 2016-07-22 11:07:45 +01:00
Dan Abramov
d24a1c9525 Tweak initial output 2016-07-21 21:22:49 +01:00
Dan Abramov
37009b1fcf Attempt to reuse Chrome tab on OS X (#62)
Fixes #38
2016-07-21 21:22:31 +01:00
Dan Abramov
a84bffc295 Tweak message 2016-07-21 17:06:02 +01:00
Dan Abramov
938ff9daa6 Misc fixes for Windows (#60) 2016-07-21 16:44:57 +01:00
Dan Abramov
8830b85d5e Add compile progress indication 2016-07-21 16:44:41 +01:00
Dan Abramov
e563b209c7 Fix local development paths (#52)
Local npm start and npm run build got broken by #33
2016-07-21 05:49:56 +01:00
Dan Abramov
9df1c2ff16 Make errors and warnings nicer (#50)
* Make errors and warnings nicer

* Fix license stripping to not be eager

* Minor tweaks
2016-07-21 05:04:57 +01:00
Dan Abramov
4ad5170b0b Enable hot reloading for CSS (#42) 2016-07-20 18:05:56 +01:00
Dan Abramov
e1ff147b7d Add npm start to e2e test 2016-07-20 14:27:32 +01:00
Kevin Lacker
6e0607ea0e I think the word listening is less clear 2016-07-19 14:27:04 -07:00
Dan Abramov
a73ebe8e2c Move configs to a separate folder (#23) 2016-07-19 14:00:41 +01:00
Jonny Buchanan
a00e1e6dd3 Use opn to open the default browser in a cross-platform way (#4) 2016-07-18 15:17:57 -07:00
Christopher Chedeau
07ad9b02f2 Open url in Chrome if app is already opened 2016-07-18 15:17:56 -07:00
Christopher Chedeau
279d704f1b .
Summary:

Test Plan:

Reviewers:

CC:

Task ID: #
2016-07-18 15:17:56 -07:00
Christopher Chedeau
614b2dbec4 random fixes + license 2016-07-18 15:17:56 -07:00
Christopher Chedeau
714971cccc Move all the scripts to the scripts/ folder and use them from the scripts section of package.json 2016-07-18 15:17:55 -07:00