Skip to content

Watch mode #31

Closed
Closed

Description

@andyinabox

Not sayin' this necessarily needs to be built into extendscriptr, but even examples of a watch workflow would be helpful.

Activity

  1. ff6347 commented on Mar 11, 2017

    @ff6347
    Member

    Hi @andyinabox
    Over at basil.js we are using the watch module. Works good for us.

    # install it as dev dependency
    npm install watch -D
    # run it in a terminal session
    # anytime you save your src/helloWorld.js
    it will be extendscriptred (is that a word yet? ;-))
    ./node_modules/.bin/watch ./node_modules/.bin/extendscriptr --script src/helloWorld.js --output dist/helloWord.js
    
  2. ff6347 commented on Mar 11, 2017

    @ff6347
    Member

    I'll keep this issue open until I (or somebody else) adds something useful about it to the readme

  3. florianbepunkt commented on Jun 9, 2018

    @florianbepunkt

    how can this be dynamic? watch looks for changes in the whole src folder, but the command provided in readme is fixed to a specific file.

    if you have multiple scripts in src folder how can this be configured to compile each file when a change occurs?

  4. ff6347 commented on Jun 11, 2018

    @ff6347
    Member

    Hm. This wont work with the current state of extendsciptr. It would mean to do changes on the module. Would be nice to have. I'll add this as a new issue and feature request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions