Open smeijer opened 7 years ago
Did rm -rf node_modules && yarn install
now, works fine for me. What node version are you using?
I got 7.2.0
I was using 6.9.1
, but now tried with 7.2.0
as well. Same results as before. Can it be that the single &
doesn't work on windows?
Running just: node ./etc/devserver --verbose
works, as wel as just gulp
. The later seems to be hanging on Starting <anonymous>
, but I guess that is as designed? The second part of the script gulp & nodemon ./etc/devserver --verbose
doesn't seem to be invoked.
If windows doesn't support the forking
&
operator, this behavior would make sense.
hmm you're probably right, never done much Windows CLI stuff. feel free to submit a PR if you come with a cross platform solution, I'll have a look at it after midterm tests
I found a solution here: https://github.com/este/este/issues/460. It does work when I use concurrently
:
"start": "concurrently \"gulp\" \"nodemon ./etc/devserver --verbose\"",
Okay; The PR must wait, because I'm not tracking your repo any more since you've switched from saga's to observables. But this is in my opinion the best fix:
yarn add --dev npm-run-all
package.json:
"scripts": {
"start": "run-p gulp nodemon", // change
"nodemon": "nodemon ./etc/devserver --verbose", // add
"gulp": "gulp", // add
npm-run-all
turned out to be a better solution than the earlier mentioned concurrently
thanks for the input! i'll add it asap
It keeps hanging on
Starting '<anonymous>'