We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In review of this wonderful framework library (big thanks!), I discovered a potential issue running in Windows 7.
assets/watch.js
function run (cmd, forever) { //const child = cp.spawn('npm', ['run', cmd]); //Workaround const child = cp.spawn('npm.cmd', ['run', cmd]);
function run (cmd, forever) {
//const child = cp.spawn('npm', ['run', cmd]);
//Workaround
const child = cp.spawn('npm.cmd', ['run', cmd]);
child.stdout.pipe(process.stdout); child.stderr.pipe(process.stderr);
child.stdout.pipe(process.stdout);
child.stderr.pipe(process.stderr);
if (forever) { child.on('exit', () => { setTimeout(run, 5000, cmd, true); }); }
if (forever) {
child.on('exit', () => {
setTimeout(run, 5000, cmd, true);
});
}
return child; }
return child;
The text was updated successfully, but these errors were encountered:
Fix for #4
49ebbdd
Sorry, for some reason I've missed this issue. Fixing now..
Sorry, something went wrong.
Fixed now!
https://github.com/redom/redom-cli/releases/tag/v3.2.1
Thanks for letting know about this and hope you like RE:DOM! 😎👍
No branches or pull requests
In review of this wonderful framework library (big thanks!), I discovered a potential issue running in Windows 7.
assets/watch.js
function run (cmd, forever) {
//const child = cp.spawn('npm', ['run', cmd]);
//Workaround
const child = cp.spawn('npm.cmd', ['run', cmd]);
child.stdout.pipe(process.stdout);
child.stderr.pipe(process.stderr);
if (forever) {
child.on('exit', () => {
setTimeout(run, 5000, cmd, true);
});
}
return child;
}
The text was updated successfully, but these errors were encountered: