We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54d286b commit 9e509aaCopy full SHA for 9e509aa
packages/nuxt/src/module.ts
@@ -74,6 +74,15 @@ export default defineNuxtModule<ModuleOptions>({
74
75
nuxt.hooks.hook('nitro:init', nitro => {
76
if (serverConfigFile && serverConfigFile.includes('.server.config')) {
77
+ if (nitro.options.dev) {
78
+ consoleSandbox(() => {
79
+ // eslint-disable-next-line no-console
80
+ console.log(
81
+ '[Sentry] Your application is running in development mode. Note: @sentry/nuxt is in beta and may not work as expected on the server-side (Nitro).',
82
+ );
83
+ });
84
+ }
85
+
86
if (moduleOptions.dynamicImportForServerEntry === false) {
87
addServerConfigToBuild(moduleOptions, nuxt, nitro, serverConfigFile);
88
0 commit comments