Giter Club home page Giter Club logo

Comments (10)

amin-nas avatar amin-nas commented on May 24, 2024 1

Sweet! Working perfectly 🙌

from skpm.

mathieudutour avatar mathieudutour commented on May 24, 2024

Once I have link my plugin, I usually run skpm build --watch and every time I change my code, the plugin is compiled.

If you have enabled the developer mode for sketch (#8), it should just work.

Does it resolve your issue or did I misunderstand?

from skpm.

amin-nas avatar amin-nas commented on May 24, 2024

I have the developer mode enabled, and tried skpm build --watch. I see the plugin being complied on every change. But when I run the plugin from Sketch's Plugin menu, I dont see the update. Wondering if I'm not following the setup instructions correctly.

Attached a screenshot of the Sketch plugins folder.
screen shot 2017-02-20 at 7 22 31 am

from skpm.

mathieudutour avatar mathieudutour commented on May 24, 2024

is the symlink going to the right place?

from skpm.

amin-nas avatar amin-nas commented on May 24, 2024

I believe so. Is the expectation that after running the skpm link command, the plugin is automatically installed? I assumed that's the purpose of it, but it didn't happen on my side.

screen shot 2017-02-20 at 7 36 11 am

from skpm.

mathieudutour avatar mathieudutour commented on May 24, 2024

yes i should (but there could be a bug). If you right-click -> Show information on the symlink, it should show were it's pointing to

from skpm.

amin-nas avatar amin-nas commented on May 24, 2024

Just started a fresh project and followed the steps. All the commands were executed successfully, but here's what I see after:
screen shot 2017-02-20 at 7 53 42 am
Also, the new plugin does not appear under Sketch plugins menu (tried restarting Sketch).

from skpm.

mathieudutour avatar mathieudutour commented on May 24, 2024

I just fixed a bug when specifying the absolute path to the plugin instead of the relative path. Does it fix your issue?

from skpm.

amin-nas avatar amin-nas commented on May 24, 2024

Updated and created a new project. The symlink is pointing to the package.json file now:
/Users/aminnassiri/Projects/skpm_test_3/package.json

from skpm.

mathieudutour avatar mathieudutour commented on May 24, 2024

Oh I'm tired sorry. Should work now. (no need to create a new project, just run the link command again)

from skpm.

Related Issues (20)

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.