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
"nuxt": "^3.13.0"
plugin
import { writeFile } from 'node:fs/promises'; export default defineNitroPlugin((nitroApp) => { nitroApp.hooks.hook('close', async () => { console.log('Shutting down'); await WireGuard.Shutdown(); await writeFile('/etc/wireguard/test.lock', ''); }); });
If I stop the nuxt server the File wont be created
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Environment
"nuxt": "^3.13.0"
Reproduction
plugin
Describe the bug
If I stop the nuxt server the File wont be created
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: