Skip to content

Instantly share code, notes, and snippets.

@bdefore
Created March 5, 2015 18:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bdefore/9d1570ed9c2345f201ca to your computer and use it in GitHub Desktop.
Save bdefore/9d1570ed9c2345f201ca to your computer and use it in GitHub Desktop.
d4: ~/Documents/react-isomorphic-starterkit (master)
→ npm run watch
> react-isomorphic-starterkit@1.0.1 watch /Users/d4/Documents/react-isomorphic-starterkit
> eval 'npm run watch-server >tmp/server.log 2>&1 & SERVER_PID=$!'; eval 'npm run watch-client >tmp/client.log 2>&1 & CLIENT_PID=$!'; sleep 3; npm run start; kill $CLIENT_PID $SERVER_PID;
> react-isomorphic-starterkit@1.0.1 start /Users/d4/Documents/react-isomorphic-starterkit
> eval 'supervisor dist/server >tmp/supervisor.log 2>&1 & SUPERVISOR_PID=$!'; sleep 1; open http://localhost:8000; tail -f tmp/*.log; kill $SUPERVISOR_PID;
==> tmp/client.log <==
Hash: 997717f9d9981697a0d9
Version: webpack 1.7.2
Time: 1510ms
Asset Size Chunks Chunk Names
client.js 915058 0 [emitted] main
[0] multi main 52 {0} [built]
+ 214 hidden modules
http://localhost:8080/webpack-dev-server/
webpack result is served from http://localhost:8080/dist/
content is served from ./static
==> tmp/server.log <==
> react-isomorphic-starterkit@1.0.1 watch-server /Users/d4/Documents/react-isomorphic-starterkit
> webpack -wcv --display-error-details --config webpack.server-watch.js
==> tmp/supervisor.log <==
Running node-supervisor with
program 'dist/server'
--watch '.'
--extensions 'node,js'
--exec 'node'
Starting child process with 'node dist/server'
Watching directory '/Users/d4/Documents/react-isomorphic-starterkit' for changes.
==> tmp/server.log <==
Hash: 9f247b1cdcaa684bc2c4
Version: webpack 1.7.2
Time: 6419ms
Asset Size Chunks Chunk Names
server.js 1992828 0 [emitted] main
server.js.map 2388995 0 [emitted] main
[0] multi main 28 {0} [built]
+ 450 hidden modules
WARNING in ./~/hapi/~/vision/lib/manager.js
Critical dependencies:
251:33-46 the request of a dependency is an expression
@ ./~/hapi/~/vision/lib/manager.js 251:33-46
==> tmp/supervisor.log <==
crashing child
Starting child process with 'node dist/server'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment