Skip to content

Commit

Permalink
Merge pull request #288 from CelestialSystem/OTOOLS-107
Browse files Browse the repository at this point in the history
implement the smartflow ping for the UniversalModern and UniversalCla…
  • Loading branch information
praveen-idera authored Jan 2, 2024
2 parents 23e7a68 + efa8b8e commit 40242a8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions packages/ext-webpack-plugin/dist/pluginUtil.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions packages/ext-webpack-plugin/src/pluginUtil.js
Original file line number Diff line number Diff line change
Expand Up @@ -854,9 +854,9 @@ export function smartFlowPing(packageJsonPath, appJsonPath) {
const scriptType = process.env.npm_lifecycle_event;
let triggerevent = 'build';

if (scriptType === 'dev') {
if (scriptType === 'dev' || scriptType === 'dev:desktop') {
triggerevent = `npm start`;
} else if (scriptType === 'build') {
} else if (scriptType === 'build' || scriptType === 'build:desktop' ) {
triggerevent = `npm run build`;
} else {
triggerevent = `null`;
Expand Down

0 comments on commit 40242a8

Please sign in to comment.