Jon Abrams
Jon Abrams
Actually, js files should just be auto-loaded. See issue #51
That's very clever, you're rewriting the url path on the request. I had planned on adding the ability to define a particular resource as the base resource. This would allow...
You could do the following: ``` javascript ... module.exports = synth(); // Catch remaining unhandled requests synth.app.get('/*', function (req, res) { // Send back a 302 redirect res.redirect('/pages/home'); }); ```
I can imagine one roadblock to enabling this is that fact that the synth command is already invoked by node by the time it can read the debug flag, and...
Maybe another way would be to offer an alternate "binary" called `synth-debug` that has `#!/usr/bin/env node debug` as its first line and then invokes a common module that they both...
The problem has now basically gone away. It re-prompts on each load, but only twice now.
Found this: https://forum.makemkv.com/forum/viewtopic.php?p=156277#p156277 Could it be that you need to "deep sign" the package? It's possible that each prompt is triggered by a different library in the package.
The app is useful enough that I can put up with it (so thanks!). I was just worried that the prompts would never go away.