Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
ebcd8d4b51 | |||
27477253ee |
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "@gitzone/tswatch",
|
"name": "@gitzone/tswatch",
|
||||||
"version": "1.0.66",
|
"version": "1.0.67",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "@gitzone/tswatch",
|
"name": "@gitzone/tswatch",
|
||||||
"version": "1.0.66",
|
"version": "1.0.67",
|
||||||
"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.66",
|
"version": "1.0.67",
|
||||||
"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",
|
||||||
|
@@ -49,7 +49,7 @@ export class TsWatch {
|
|||||||
const tsbundle = new plugins.tsbundle.TsBundle();
|
const tsbundle = new plugins.tsbundle.TsBundle();
|
||||||
const htmlHandler = new plugins.tsbundle.HtmlHandler();
|
const htmlHandler = new plugins.tsbundle.HtmlHandler();
|
||||||
const bundleAndReload = async () => {
|
const bundleAndReload = async () => {
|
||||||
await tsbundle.build(paths.cwd, './ts_web/index.ts', './dist_watch/bundle.js', {
|
await tsbundle.build(paths.cwd, './html/index.ts', './dist_watch/bundle.js', {
|
||||||
bundler: 'esbuild'
|
bundler: 'esbuild'
|
||||||
});
|
});
|
||||||
await smartserve.reload();
|
await smartserve.reload();
|
||||||
|
Reference in New Issue
Block a user