Skip to content

Commit

Permalink
fix: Use node index.js for npm run dev where available to ensure …
Browse files Browse the repository at this point in the history
…it starts servers with changed code
  • Loading branch information
paveltiunov committed Nov 1, 2019
1 parent 4cbb7b1 commit 527e274
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cubejs-cli/cubejsCli.js
Expand Up @@ -82,7 +82,7 @@ const createApp = async (projectName, options) => {
version: '0.0.1',
private: true,
scripts: {
dev: "./node_modules/.bin/cubejs-dev-server"
dev: template === 'express' ? 'node index.js' : "./node_modules/.bin/cubejs-dev-server"
}
});

Expand Down

0 comments on commit 527e274

Please sign in to comment.