Build `爱奥尼亚服务公司';t在app';下更改文件时重新加载/重建;s子文件夹
我试图在我的ionic3项目中按功能结构跟踪angular的文件夹。因此,我在Build `爱奥尼亚服务公司';t在app';下更改文件时重新加载/重建;s子文件夹,build,ionic2,livereload,Build,Ionic2,Livereload,我试图在我的ionic3项目中按功能结构跟踪angular的文件夹。因此,我在app文件夹下创建了一个功能文件夹,如下所示: - src/ - app/ - about/ - about.module.ts - components/ - about.component.html - about.component.ts - ab
app
文件夹下创建了一个功能文件夹,如下所示:
- src/
- app/
- about/
- about.module.ts
- components/
- about.component.html
- about.component.ts
- about.component.scss
更改关于
文件夹下的任何文件时,爱奥尼亚服务
启动重建过程,但生成的文件不会更改任何内容:
> ionic-app-scripts serve
[10:50:52] ionic-app-scripts 2.1.3
[10:50:52] watch started ...
[10:50:52] build dev started ...
[10:50:52] clean started ...
[10:50:52] clean finished in 3 ms
[10:50:52] copy started ...
[10:50:52] transpile started ...
[10:50:57] transpile finished in 4.74 s
[10:50:57] preprocess started ...
[10:50:57] deeplinks started ...
[10:50:57] deeplinks finished in 181 ms
[10:50:57] preprocess finished in 183 ms
[10:50:57] webpack started ...
[10:50:57] copy finished in 5.14 s
[10:51:08] webpack finished in 10.82 s
[10:51:08] sass started ...
[10:51:10] sass finished in 2.06 s
[10:51:10] postprocess started ...
[10:51:10] postprocess finished in 5 ms
[10:51:10] lint started ...
[10:51:10] build dev finished in 17.86 s
[10:51:10] watch ready in 17.95 s
[10:51:10] dev server running: http://localhost:8100/
// -----> change any files under about folder
[10:51:16] lint finished in 5.90 s
[10:52:51] build started ...
[10:52:51] template update started ...
[10:52:51] template update finished in 5 ms
[10:52:51] deeplinks update started ...
[10:52:53] deeplinks update finished in 1.59 s
[10:52:53] build finished in 1.60 s
目前,我必须在每次更改时重新运行ionic service
如何做到这一点?您可以添加您的
包.json
?在使用sub-components.module.t时,我也会遇到这种情况。您可以添加您的包.json
?在使用sub-components.module.ts时,我也会遇到这种情况