Skip to content

Commit 94b40b8

Browse files
authored
Fix yarn dev script (#13)
1 parent 51e3085 commit 94b40b8

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "Async query support for Grafana",
55
"main": "dist/index.js",
66
"scripts": {
7-
"dev": "watch 'npm run bundle' ./src",
7+
"dev": "yarn bundle --watch --watch.onStart=\"yarn typecheck\"",
88
"build": "yarn clean && yarn typecheck && yarn bundle",
99
"bundle": "rollup -c rollup.config.ts",
1010
"clean": "rimraf ./dist ./compiled",

rollup.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,8 @@ export default [
3939
file: pkg.publishConfig.types,
4040
format: 'es',
4141
},
42+
watch: {
43+
exclude: './compiled/**',
44+
},
4245
},
4346
];

0 commit comments

Comments
 (0)