rename - ionic serve fails after renaming app -
first, renamed repository directory app, mv fooapp barapp
. did search , replace literally every instance of every casing of app's old name, "fooapp", in repository lives. grep -r -i fooapp *
returns absolutely nothing. deleted node_modules/
, did npm install
scratch.
somehow, somewhy, when run ionic serve
, page reads
error: enoent, open '/users/bistenes/code/fooapp/www/index.html'
what weird black magic ionic such ionic serve
still has old path cached? how make cut out?
tl;dr: killall ionic
after reinitializing app along lines of adamkwadsworth answered with, found still having same problem, indicating problem not in files, either environment or running processes. turns out when run ionic serve
, if process running, go through startup sequence. led me incorrectly believe process terminating @ point. rather, still had same ionic server running long before of renaming. running killall ionic
before next ionic serve
solved problem.
Comments
Post a Comment