This repository was archived by the owner on Nov 16, 2018. It is now read-only.
File tree 3 files changed +11
-5
lines changed
3 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ Example universal/isomorphic application demonstrating react-hot-loader-3 with w
5
5
6
6
> Found this usefull? give it a :star :
7
7
8
+ ** Windows users see the last section of this README**
9
+
8
10
## get started
9
11
1 . $ ` yarn `
10
12
2 . $ ` yarn dev `
@@ -31,3 +33,8 @@ Example universal/isomorphic application demonstrating react-hot-loader-3 with w
31
33
32
34
##### Other features/examples I am working:
33
35
* Jest / Enzyme
36
+
37
+ ## Window Users
38
+ Use $ ` yarn devWindows ` during development. Note ` rs ` to restart nodemon will not work on windows.
39
+
40
+ If you want ` rs ` to restart nodemon you will need to run ` yarn watchServer ` and ` yarn devServer ` in two separate terminals.
Original file line number Diff line number Diff line change 11
11
"start" : " cross-env NODE_ENV=production node ./dist/server.js" ,
12
12
"---------- DEVELOPMENT -------------------------------------------------------------------------" : " " ,
13
13
"predev" : " npm run removeAndBuildServer" ,
14
- "dev" : " concurrently --kill-others \" npm run watchServer\" \" npm run devServer\" " ,
14
+ "dev" : " npm run watchServer & npm run devServer" ,
15
+ "devWindows" : " concurrently --kill-others \" npm run watchServer\" \" npm run devServer\" " ,
15
16
"devServer" : " cross-env BABEL_ENV=client NODE_ENV=development nodemon ./dist/server.js" ,
16
17
"---------- STAGING -----------------------------------------------------------------------------" : " " ,
17
18
"prestaging:build" : " npm run removeAndBuildServer" ,
Original file line number Diff line number Diff line change @@ -70,9 +70,7 @@ const config = {
70
70
} ,
71
71
72
72
plugins : [
73
- isDevelopment
74
- ? null
75
- : new SimpleProgressPlugin ( ) ,
73
+ new SimpleProgressPlugin ( ) ,
76
74
77
75
new webpack . DefinePlugin ( {
78
76
'process.env.NODE_ENV' : JSON . stringify ( NODE_ENV ) ,
@@ -143,7 +141,7 @@ const config = {
143
141
144
142
devtool : isProduction
145
143
? 'none'
146
- : 'cheap-module-eval- source-map' ,
144
+ : 'source-map' ,
147
145
148
146
performance : {
149
147
maxAssetSize : 500000 ,
You can’t perform that action at this time.
0 commit comments