@pulse-editor/cli 0.1.1-beta.19 → 0.1.1-beta.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -59,6 +59,7 @@ export default function Dev({ cli }) {
59
59
  shell: true,
60
60
  env: {
61
61
  NODE_OPTIONS: '--import=tsx',
62
+ NODE_ENV: 'development',
62
63
  },
63
64
  });
64
65
  // Handle process exit to close webpack compiler
@@ -16,7 +16,7 @@ dotenv.config({
16
16
  quiet: true,
17
17
  });
18
18
  const isPreview = process.env?.['PREVIEW'];
19
- const isDev = process.env?.['NODE_ENV'];
19
+ const isDev = process.env?.['NODE_ENV'] === 'development';
20
20
  const workspaceId = process.env?.['WORKSPACE_ID'];
21
21
  const pulseConfig = await readConfigFile();
22
22
  if (isDev || isPreview) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulse-editor/cli",
3
- "version": "0.1.1-beta.19",
3
+ "version": "0.1.1-beta.20",
4
4
  "license": "MIT",
5
5
  "bin": {
6
6
  "pulse": "dist/cli.js"