Skip to content

npm css/ts compiling for development#92

Merged
henningn merged 1 commit into
apache:masterfrom
henningn:dev-css-ts-compile
May 8, 2020
Merged

npm css/ts compiling for development#92
henningn merged 1 commit into
apache:masterfrom
henningn:dev-css-ts-compile

Conversation

@henningn

@henningn henningn commented May 8, 2020

Copy link
Copy Markdown
Contributor

In the tobago-example-demo, jetty is now looking for static resources in two directories: The default "webapp" directory and a "target/tobago-standard-theme"-directory which may contain the tobago-standard-theme resources. Both directories must be exist, otherwise jetty won't start.
If Jetty is started with maven profile "dev", the tobago-standard-theme will be unpacked in the "target/tobago-standard-theme"-directory. In this case Jetty would detect chances to CSS/JS files without restart.
The npm scripts "dev-css" and "dev-ts" are added to the tobago-standard-theme package.json and can be used to compile and copy css/ts files to the "target/tobago-standard-theme"-directory.

In the tobago-example-demo, jetty is now looking for static resources in two directories: The default "webapp" directory and a "target/tobago-standard-theme"-directory which may contain the tobago-standard-theme resources. Both directories must be exist, otherwise jetty won't start.
If Jetty is started with maven profile "dev", the tobago-standard-theme will be unpacked in the "target/tobago-standard-theme"-directory. In this case Jetty would detect chances to CSS/JS files without restart.
The npm scripts "dev-css" and "dev-ts" are added to the tobago-standard-theme package.json and can be used to compile and copy css/ts files to the "target/tobago-standard-theme"-directory.
@henningn henningn self-assigned this May 8, 2020
@henningn henningn merged commit 61f74d7 into apache:master May 8, 2020
@henningn henningn deleted the dev-css-ts-compile branch May 8, 2020 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant