ryanflorence/react-router-mega-demo

Not an issue, but is the "./script/dev" runnable on Windows?

jannavarro opened this issue · 4 comments

In the readme.md I did npm install then the next step is "./script/dev" I opened that file, copied "./node_modules/.bin/webpack --watch --devtool inline-source-map &
supervisor app.js" to an Administrator command line but it did not work.

The other approach I tried is to go to the node_modules/.bin folder and just run webpack --watch but it did not work as well.

I run it no problem on Windows 8.1. by simply typing ./script/dev while in project directory (I had to install supervisor though).

I ran into the same issue on Windows 8.1. So I Installed node-supervisor first like dfogas suggested and then typed ./script/dev in the project directory and then voila, the react router demo was running on http://localhost:5000

I am facing same issue. I installed supervisor though.
getting this error
"D:\Angrej\gitrepo\react-router-mega-demo>./script/dev
'.' is not recognized as an internal or external command,
operable program or batch file."

I also had a problem. I solved it by running each line in ./script/dev manually.
In one window run: ./node_modules/.bin/webpack --watch --devtool inline-source-map
Open another window and run: supervisor app.js

You'll need to install node-supervisor before running the script