Title: Custom block refresh on edit
Last modified: November 28, 2023

---

# Custom block refresh on edit

 *  [kamalkayani](https://wordpress.org/support/users/kamalkayani/)
 * (@kamalkayani)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/custom-block-refresh-on-edit/)
 * Hi, I am creating a custom block. During development when I make a change to 
   the block markup in the edit.js file, I have to refresh the page to see the change.
   Is there a way to automatically refresh the page when I make a change in the 
   edit.js file?
   Thanks

Viewing 1 replies (of 1 total)

 *  [iFlair Web Technologies Pvt.](https://wordpress.org/support/users/jinalshah/)
 * (@jinalshah)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/custom-block-refresh-on-edit/#post-17256098)
 * You need to add script that page refresh every 5 mints.
 * here is some example that hoe you can do this
 * [Click here](https://www.geeksforgeeks.org/how-to-automatic-refresh-a-web-page-in-fixed-time/)

Viewing 1 replies (of 1 total)

The topic ‘Custom block refresh on edit’ is closed to new replies.

 * In: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
 * 2 replies
 * 2 participants
 * Last reply from: [iFlair Web Technologies Pvt.](https://wordpress.org/support/users/jinalshah/)
 * Last activity: [2 years, 5 months ago](https://wordpress.org/support/topic/custom-block-refresh-on-edit/#post-17256098)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
