Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes to get vanilla example working on Windows #11

Open
sacah opened this issue Jun 15, 2019 · 0 comments
Open

Changes to get vanilla example working on Windows #11

sacah opened this issue Jun 15, 2019 · 0 comments

Comments

@sacah
Copy link

sacah commented Jun 15, 2019

In the dev.js script it calls
nodemon(-x 'NGROK_URL=${url} PORT=${port} node' ./backend/server.js);

I imported 'const { exec } = require('child_process');'
Then changed the above line to
exec('SET NGROK_URL='+ url);
nodemon(-x 'node' ./backend/server.js);

Also changed the package.js from export to set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant