• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.5.2 Latest
Buy Hosting

How to see changes on browser asap when I've just change some code in my theme or plugin?

Scheduled Pinned Locked Moved NodeBB Development
6 Posts 4 Posters 2.6k Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • thuanpq.ioT Offline
    thuanpq.ioT Offline
    thuanpq.io
    wrote on last edited by
    #1

    please help, I have to exec this command so frequently ./nodebb reload , waste of time.
    thx so much

    pichaliteP 1 Reply Last reply
    1
  • pichaliteP Offline
    pichaliteP Offline
    pichalite Plugin & Theme Dev
    replied to thuanpq.io on last edited by
    #2

    @thuanpq.io use grunt. NodeBB will automatically reload when you change files.

    Install these modules
    npm i grunt grunt-contrib-watch

    After these modules are installed just run grunt and NodeBB will start in watch mode. Any changes to files will reload NodeBB.

    1 Reply Last reply
    1
  • thuanpq.ioT Offline
    thuanpq.ioT Offline
    thuanpq.io
    wrote on last edited by
    #3

    @pichalite thank u so much, nodebb auto reload when I update my language json already.

    1 Reply Last reply
    0
  • N Offline
    N Offline
    nousath
    wrote on last edited by
    #4

    @pichalite said in How to see changes on browser asap when I've just change some code in my theme or plugin?:

    @thuanpq.io use grunt. NodeBB will automatically reload when you change files.

    Install these modules
    npm i grunt grunt-contrib-watch

    After these modules are installed just run grunt and NodeBB will start in watch mode. Any changes to files will reload NodeBB.

    how to run grunt

    1 Reply Last reply
    0
  • PitaJP Offline
    PitaJP Offline
    PitaJ Global Moderator Plugin & Theme Dev
    wrote on last edited by
    #5
    npm i grunt -g
    grunt
    
    1 Reply Last reply
    2
  • N Offline
    N Offline
    nousath
    wrote on last edited by
    #6

    @pitaj said in How to see changes on browser asap when I've just change some code in my theme or plugin?:

    grunt

    thank you so much brother

    1 Reply Last reply
    1

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development