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

Infinite restart after saving a file #12

Closed
zonkil opened this issue Sep 14, 2016 · 11 comments
Closed

Infinite restart after saving a file #12

zonkil opened this issue Sep 14, 2016 · 11 comments

Comments

@zonkil
Copy link

zonkil commented Sep 14, 2016

After saving file and compile, nodemon go wild, restarting app all over again

image

@esuarezz
Copy link
Contributor

Check the task you are executing just there is watching not watching + run

2016-09-14 20:26 GMT+01:00 zonkil notifications@github.com:

After saving file and compile, nodemon go wild, restarting app all over
again

[image: image]
https://cloud.githubusercontent.com/assets/14218072/18526616/8afb2576-7ac1-11e6-88db-599eea2dab46.png


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#12,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKU3imEqqmGuY1jvrEraix3EY7ns464Eks5qqEpsgaJpZM4J9JaB
.

@zonkil
Copy link
Author

zonkil commented Sep 14, 2016

I am executing:
npm run deploy
which execute
"deploy": "concurrent --kill-others \"gulp watch\" \"gulp start\""

@esuarezz
Copy link
Contributor

esuarezz commented Sep 14, 2016

if you want to deploy , I guess you dont need watch, just start ;) so remove watch from there.

Usually gulp makes problems if you try to watch + start, they disturb each other :P
let me know if u solve it 💃

2016-09-14 20:37 GMT+01:00 zonkil notifications@github.com:

I am executing:
npm run deploy
which execute
"deploy": "concurrent --kill-others "gulp watch" "gulp start""


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#12 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKU3iu30kr_U9MAsR4haqz30x0mtAFZ0ks5qqEzhgaJpZM4J9JaB
.

@zonkil
Copy link
Author

zonkil commented Sep 14, 2016

If it should be removed why is it in package.json?

I haven't change anything, just downloded project and run as said in instruction.

@esuarezz
Copy link
Contributor

you have to remove or start or watch, do that if you want to fix it. I
think you need to get the concept of open source, this is a project not
released to work in a company.. of course many things could be improved and
fixable

2016-09-14 21:06 GMT+01:00 zonkil notifications@github.com:

If it should be removed why is it in package.json?

I haven't change anything, just downloded project and run as said in
instruction.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#12 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKU3ioIAG4wVUdvH4-bXdb-E7p7zLlnkks5qqFOxgaJpZM4J9JaB
.

@esuarezz
Copy link
Contributor

Check how it is build for example the task "default"

@zonkil
Copy link
Author

zonkil commented Sep 15, 2016

I thought that it was make that way to automatic compile and restart. But it dosent work. If I start "default" or "start" it always is in infinite loop. If I only start "watch" I have to manualy restart.

And what concept of open source has to do with it? I found some issue and I am letting you know about it. You can just ignore it or do what ever you want.

@moizKachwala
Copy link
Owner

I have also faced the same issue and I am looking into this.

@zonkil
Copy link
Author

zonkil commented Sep 15, 2016

I'm pretty new in all JS stuff, but removing tasks: ['tslint'] from nodemon params helped (in some way, nodemon still restarting few times). watch execute tslint so start don't have to, I think.

@moizKachwala
Copy link
Owner

Yes, something wrong in watch and tslint. I notify when its fixed

@moizKachwala
Copy link
Owner

fixed

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

No branches or pull requests

3 participants