Code Monkey home page Code Monkey logo

Comments (5)

codeskyblue avatar codeskyblue commented on July 18, 2024

Signal can be configured.

from fswatch.

franciscocpg avatar franciscocpg commented on July 18, 2024

Yes, but Signal it works only when we edit and save something.
When we press CTRL+C it uses killSignal and sends SIGKILL .
By doing this my program only receives the proper signal notify when I edit/save something, but not when I press CTRL+C using fsw.

from fswatch.

codeskyblue avatar codeskyblue commented on July 18, 2024

yes, you are right, when edit something, program accept signal, only reload, sometime not quit. But when press CTRL+C fswatch exited, so at that moment, it is better to clean the environment which mean kill all running program. That's why send SIGKILL

from fswatch.

franciscocpg avatar franciscocpg commented on July 18, 2024

Right, but why can't this be an option to the user?
At I mentioned here #12 (comment), my program is not stopping properly and because of that I can't use fsw (which is a wonderful too) for develop.
Can I propose a PR?

from fswatch.

codeskyblue avatar codeskyblue commented on July 18, 2024

year, add an option seems a good way, pr is welcome.

from fswatch.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.