How to watch component TypeScript file changes in dev mode? #2061
Unanswered
codyburleson
asked this question in
Q&A
Replies: 1 comment 5 replies
-
try |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I created a new element, but I can't seem to get my changes to be watched. As described in the Develop/Setup page, under the section, Development Workflow, I run the command,
npm start
. Once started, I navigate to my new element's demo page at:http://localhost:8000/demo/pfe-wizard/
. It renders as expected. If I change the filedemo/pfe-wizard.html
, the change registers with the listener and then change is rendered in my web browser. If I change the component code inelements/pfe-wizard/pfe-wizard.ts
, however, the change is not registered. All I can do to see the change is stop the dev server and restart it. Does anyone have an idea why I'm unable to work on my actual component code in the watch mode? What am I missing?Note that it's the same story if I use
npm run dev
instead ofnpm run start
. I'm working directly in a fork of the patternfly-elements repo.Beta Was this translation helpful? Give feedback.
All reactions