Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/watch mode #59

Merged
merged 8 commits into from
Dec 20, 2019
Merged

Fix/watch mode #59

merged 8 commits into from
Dec 20, 2019

Conversation

jorgeucano
Copy link
Contributor

fix(scully): rewrite watch mode
change all from the watch mode for support the new config, and some hotfix.
Fix problem with gosth node process

scully/scully.ts Outdated
checkChangeAngular(options.path);
restartStaticServer();
} else {
const folder = join(scullyConfig.homeFolder, scullyConfig.distFolder);

if (!existDistAngular(scullyConfig.homeFolder)) {
process.exit(0);
try {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is there a try here? proccess.exit doesn't usually fail?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will eliminate the try / catch ... the output works fine!
It is a test that I left unintentionally.

Copy link
Contributor

@SanderElias SanderElias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ping me when you are back online

@aaronfrost
Copy link
Contributor

Where are we at on this?

Copy link
Contributor

@SanderElias SanderElias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jorgeucano jorgeucano merged commit 9eac48d into master Dec 20, 2019
@jorgeucano jorgeucano deleted the fix/watch-mode branch December 20, 2019 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants