Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
8d7ab769e1 | |||
8ebc438e2d | |||
d0d158ee87 | |||
3ada286495 |
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "@gitzone/tswatch",
|
"name": "@gitzone/tswatch",
|
||||||
"version": "1.0.69",
|
"version": "1.0.71",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "@gitzone/tswatch",
|
"name": "@gitzone/tswatch",
|
||||||
"version": "1.0.69",
|
"version": "1.0.71",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@gitzone/tsbundle": "^1.0.100",
|
"@gitzone/tsbundle": "^1.0.100",
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@gitzone/tswatch",
|
"name": "@gitzone/tswatch",
|
||||||
"version": "1.0.69",
|
"version": "1.0.71",
|
||||||
"private": false,
|
"private": false,
|
||||||
"description": "watch typescript projects during development",
|
"description": "watch typescript projects during development",
|
||||||
"main": "dist_ts/index.js",
|
"main": "dist_ts/index.js",
|
||||||
|
@@ -103,7 +103,6 @@ export class TsWatch {
|
|||||||
await tsbundle.build(paths.cwd, './ts_web/index.ts', './dist_serve/bundle.js', {
|
await tsbundle.build(paths.cwd, './ts_web/index.ts', './dist_serve/bundle.js', {
|
||||||
bundler: 'esbuild'
|
bundler: 'esbuild'
|
||||||
});
|
});
|
||||||
await smartserve.reload();
|
|
||||||
}
|
}
|
||||||
this.watcherMap.add(
|
this.watcherMap.add(
|
||||||
new Watcher({
|
new Watcher({
|
||||||
@@ -128,7 +127,7 @@ export class TsWatch {
|
|||||||
'./dist_watch/index.html'
|
'./dist_watch/index.html'
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
await bundleAndReload();
|
await bundleAndReload2();
|
||||||
},
|
},
|
||||||
timeout: null,
|
timeout: null,
|
||||||
})
|
})
|
||||||
|
Reference in New Issue
Block a user