Proper deleting of a page component from ionic2 project

I have "ionic start MyIonic2Project tutorial --v2 --ts " a project on maybe ionic beta 6;

and have “ionic g page baiscs --v2 --ts” a page component, and attached it into the page-hierarchy so it worked fine in the project

I replaced the default “ionic gulp browserify typescript” with “ionic gulp webpack” in order to handle some external ts modules.

I upgraded the project to beta 10. and everything is fine

then I felt like deleting the afore mentioned “basics” page.

I first detached the basics from the page-hierarchy.

I "ionic serve -l -s -c " to make sure that my changes took effect and did not broke the app.

then I felt confident about the changes, and proceeded to the final cut.

I deleted the “app/pages/basics” folder; and delete the "@import “…/pages/basics/basics.scss”; from the “app/theme/app.core.scss”.

then I "ionic serve -l -s -c " again to make sure it was clean.

guess what? the app did not feel happy about my deleting, and raised the following complaining

wjz@hp0:~/ion/tsender$ ionic serve -l -s -c
(node:24946) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.

Running ‘serve:before’ gulp task before serve
[17:08:26] Starting ‘clean’…
[17:08:26] Finished ‘clean’ after 133 ms
[17:08:26] Starting ‘watch’…
[17:08:26] Starting ‘sass’…
[17:08:26] Starting ‘html’…
[17:08:26] Starting ‘fonts’…
[17:08:26] Starting ‘scripts’…
[17:08:26] Finished ‘scripts’ after 334 ms
[17:08:27] Finished ‘fonts’ after 426 ms
[17:08:27] Finished ‘html’ after 573 ms
[17:08:29] Finished ‘sass’ after 2.96 s
ts-loader: Using typescript@1.8.10 and /home/wjz/ion/tsender/tsconfig.json
Hash: c7991aae6336aeb01ca3
Version: webpack 1.13.1
Time: 13255ms
Asset Size Chunks Chunk Names
app.bundle.js 3.67 MB 0 [emitted] main 4.32 MB 0 [emitted] main

ERROR in ./app/pages/sender/sender.ts
(4,26): error TS2307: Cannot find module ‘…/basics/basics’.
[17:09:10] Starting ‘html’…
[17:09:10] Starting ‘sass’…
[17:09:10] Finished ‘html’ after 61 ms
[17:09:12] Finished ‘sass’ after 1.73 s

note that “./app/pages/sender” is the upper layer page from where “basics” had been attached.

I undo the deletions, and "ionic serve -l -s -c " again; and the system was happy.

it seems that the system somehow keeps a record of all the project assets, and did not allow deletings

my “ionic info”

wjz@hp0:~/ion/tsender$ ionic info

Your system information:

Cordova CLI: 6.2.0
Ionic Framework Version: 2.0.0-beta.10
Ionic CLI Version: 2.0.0-beta.30
Ionic App Lib Version: 2.0.0-beta.16
OS: Distributor ID: Ubuntu Description: Ubuntu 14.04.4 LTS
Node Version: v6.2.2

my “package.json”

“dependencies”: {
@angular/common”: “^2.0.0-rc.1”,
@angular/compiler”: “^2.0.0-rc.1”,
@angular/core”: “^2.0.0-rc.1”,
@angular/http”: “^2.0.0-rc.1”,
@angular/platform-browser”: “^2.0.0-rc.1”,
@angular/platform-browser-dynamic”: “^2.0.0-rc.1”,
@angular/router”: “^2.0.0-rc.1”,
“es6-shim”: “^0.35.1”,
“fbsts”: “^1.0.17”,
“ionic-angular”: “2.0.0-beta.10”,
“ionic-native”: “^1.3.2”,
“ionicons”: “3.0.0”,
“node-uuid”: “^1.4.7”,
“reflect-metadata”: “^0.1.3”,
“rxjs”: “^5.0.0-beta.6”,
“zone.js”: “^0.6.12”
“devDependencies”: {
“del”: “2.2.1”,
“gulp”: “3.9.1”,
“gulp-watch”: “4.3.8”,
“ionic-gulp-fonts-copy”: “^1.0.0”,
“ionic-gulp-html-copy”: “^1.0.0”,
“ionic-gulp-sass-build”: “^1.0.0”,
“ionic-gulp-scripts-copy”: “^2.0.0”,
“ionic-gulp-webpack”: “^2.0.0”,
“run-sequence”: “1.2.1”,
“ts-loader”: “^0.8.2”,
“typescript”: “1.8.10”,
“typings”: “1.3.1”
“cordovaPlugins”: [
“cordovaPlatforms”: [
“name”: “tsender”,
“description”: “tsender: An Ionic project”,
“license”: “ISC”,
“repository”: {
“type”: “git”,
“url”: “”

any suggestions?