I'm using jHipster with OAuth2 + Client in Angular 4. While doing some work I'm facing a critical issue. i.e I'm working in development mode and I've generated my client and server code separately. One of my machines is the server, on which client and server are running. What happens is when I access the URL of the client from the different systems it works somewhat like a TeamViewer session.
I've tested this issue with 3 systems.
One of my machines is the server, on which client and server are running. What happens is when I access the URL of the client from the different systems it works somewhat like a TeamViewer session.
e.g. On one system if I enter username and password sign-in page, it enters data on another machine as well, in which the same URI is open.
None
Executing jhipster:info
Options:
Welcome to the JHipster Information Sub-Generator
[email protected] D:\Hassnain\projects\blockchain\jhipster-official\client
`-- [email protected]
##### **JHipster configuration, a `.yo-rc.json` file generated in the root folder**
{
"generator-jhipster": {
"promptValues": {
"nativeLanguage": "en"
},
"jhipsterVersion": "4.7.0",
"baseName": "app",
"clientFramework": "angularX",
"useSass": true,
"enableTranslation": true,
"nativeLanguage": "en",
"languages": [
"en",
"fr"
],
"clientPackageManager": "yarn"
}
}
entityName.json files generated in the .jhipster directory
JDL entity definitions
java version "1.8.0_121"
Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)
git version 2.9.0.windows.1
node: v6.11.2
npm: 5.3.0
bower: 1.8.0
gulp:
[20:02:55] CLI version 1.4.0
yeoman: 2.0.0
yarn: 0.27.5
Docker version 17.07.0-ce, build 8784753
docker-compose version 1.15.0, build e12f3b94
Execution complete
entityName.json files generated in the .jhipster directory
Windows 7 , Google Chrome
That's BrowserSync :-)
Thank you for replying. @jdubois can you please tell me what should I do to run my client in the production environment. or how can I disable BrowserSync in jHipster.
Please read the documentation website on how to run in production it is clearly explained there http://www.jhipster.tech/production/
This is the first time a feature is reported as bug :smile:
Most helpful comment
This is the first time a feature is reported as bug :smile: