Open cheapsteak opened 8 years ago
This repo uses piping to watch the files and restart the server if needed. At first glance i didn't see any option allowing to change this behavior but you may find a way or ask them.
The piping initialization is done in bin/server.js , this is where you may want to add some configurations.
Any update on this ?
@shek8034, @SuigetsuSake is correct: You can turn it off by adding one line to bin/server.js and/or bin/api.js where piping is initialized.
[...]
if (process.env.NODE_ENV !== 'production') {
if (!require('piping')({
hook: true,
ignore: [whatever]
respawnOnExit: false <------------ add this
})) {
return;
}
}
[...]
I wish there were a way to turn this off, it makes it much more annoying to tell whether a debug attempt was successful