Skip to content

Commit

Permalink
Fix yarn dev script (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinwcyu authored Mar 20, 2023
1 parent 51e3085 commit 94b40b8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Async query support for Grafana",
"main": "dist/index.js",
"scripts": {
"dev": "watch 'npm run bundle' ./src",
"dev": "yarn bundle --watch --watch.onStart=\"yarn typecheck\"",
"build": "yarn clean && yarn typecheck && yarn bundle",
"bundle": "rollup -c rollup.config.ts",
"clean": "rimraf ./dist ./compiled",
Expand Down
3 changes: 3 additions & 0 deletions rollup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,8 @@ export default [
file: pkg.publishConfig.types,
format: 'es',
},
watch: {
exclude: './compiled/**',
},
},
];

0 comments on commit 94b40b8

Please sign in to comment.