Skip to content

Commit 598d9b9

Browse files
committed
chore: replace serve, watch and concurrently with node --watch and npx
node --watch covers the rebuild side, including the template inside node_modules when the path is given explicitly, so build:watch and the watch package can go. http-server runs through npx, so the serving side needs no dependency either, and because it is one script with two children concurrently is not needed. npm run serve rebuilds on changes in lib/, docs/ and the jsdoc template and serves build/ on 127.0.0.1.
1 parent c7fe6a2 commit 598d9b9

4 files changed

Lines changed: 166 additions & 1905 deletions

File tree

‎eslint.config.js‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ module.exports = defineConfig(
2828
],
2929
},
3030
},
31+
{
32+
files: ['**/*.mjs'],
33+
languageOptions: {
34+
sourceType: 'module',
35+
},
36+
},
3137
{
3238
files: ['test/**/*.js'],
3339
languageOptions: {

0 commit comments

Comments
 (0)